name = gmp
version = 5.0.1
-release = 0
+release = 1
groups = System/Libraries
url = http://gmplib.org/
emphasizes speed over simplicity/elegance in its operations.
end
-source_dl =
+source_dl = ftp://ftp.gmplib.org/pub/%{thisapp}/
sources = %{thisapp}.tar.bz2
build
m4
end
- build
- if [ "%{MACHINE}" = "x86_64" ]; then
- ABI=64
- else
- ABI=32
- fi
+ ABI = standard
+
+ if "%{DISTRO_ARCH}" == "x86_64"
+ ABI = 64
+ end
+ if "%{DISTRO_ARCH}" == "i686"
+ ABI = 32
+ end
+
+ build
ABI=%{ABI} \
./configure \
--prefix=/usr \