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 | |
8e5aa0f4 | 8 | version=6.1.2 |
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 \ | |
15 | --enable-cxx \ | |
16 | --build=aarch64-unknown-linux-gnueabi | |
17 | make | |
18 | make DESTDIR=$PKG install | |
19 | rm -r $PKG/usr/share | |
20 | } |