blob: 16466a58f5e2f9b4a586bec74e9a7e23d3812aac (
plain)
1 # Description: Free library for arbitrary precision arithmetic
2 # URL: http://gmplib.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=libgmp
6 version=5.0.3
7 release=1
8 source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz)
9
10 build() {
11 cd gmp-$version
12 ABI=32 ./configure --prefix=/usr \
13 --enable-cxx \
14 --build=i686-pc-linux-gnu
15 make
16 make DESTDIR=$PKG install
17 rm -r $PKG/usr/share
18 }
|