Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
4c935997 | 4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
6dca1d21 JB |
5 | # Depends on: libgmp |
6 | ||
7 | name=libmpfr | |
b1b926ea | 8 | version=2.4.2 |
6dca1d21 | 9 | release=1 |
b1b926ea | 10 | source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd mpfr-$version | |
b1b926ea | 14 | |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
b1b926ea JB |
17 | --prefix=/usr \ |
18 | --with-gmp=$CLFS | |
6dca1d21 JB |
19 | |
20 | make | |
21 | make DESTDIR=$PKG install | |
b1b926ea | 22 | rm -rf $PKG/usr/share |
6dca1d21 | 23 | } |