Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Free library for arbitrary precision arithmetic |
2 | # URL: http://gmplib.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=libgmp | |
ecc67a4c | 8 | version=5.0.5 |
84729e93 | 9 | release=1 |
ecc67a4c | 10 | source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
31039fa2 | 13 | cd gmp-$version |
31039fa2 JB |
14 | ./configure --build=$CHOST \ |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --enable-cxx | |
18 | ||
19 | make | |
20 | make DESTDIR=$PKG install | |
21 | rm -r $PKG/usr/share | |
6dca1d21 | 22 | } |