| 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 |
| 8 | version=5.1.2 |
| 9 | release=2 |
| 10 | source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz) |
| 11 | |
| 12 | build() { |
| 13 | cd gmp-$version |
| 14 | ./configure --prefix=/usr \ |
| 15 | --enable-cxx \ |
| 16 | --build=arm-unknown-linux-gnueabihf |
| 17 | make |
| 18 | make DESTDIR=$PKG install |
| 19 | rm -r $PKG/usr/share |
| 20 | } |