| 1 | # Description: C library for multiple-precision floating-point computations with correct rounding |
| 2 | # URL: http://www.mpfr.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: libgmp |
| 6 | |
| 7 | name=libmpfr |
| 8 | version=2.4.2 |
| 9 | release=1 |
| 10 | source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd mpfr-$version |
| 14 | |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --with-gmp=$CLFS |
| 19 | |
| 20 | make |
| 21 | make DESTDIR=$PKG install |
| 22 | rm -rf $PKG/usr/share |
| 23 | } |