Commit | Line | Data |
---|---|---|
f8d72a05 VM |
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 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: | |
6 | ||
7 | name=libgmp | |
611a6bb0 | 8 | version=6.2.1 |
f8d72a05 VM |
9 | release=1 |
10 | source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz) | |
11 | ||
12 | build() { | |
13 | cd gmp-${version%a} | |
14 | ./configure --prefix=/usr \ | |
813e72c1 VM |
15 | --enable-cxx |
16 | ||
f8d72a05 VM |
17 | make |
18 | make DESTDIR=$PKG install | |
19 | rm -r $PKG/usr/share | |
20 | } |