CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: updated to 4.0.1
[crossrootfs.git] / libmpfr / Pkgfile
CommitLineData
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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on: libgmp
6
7name=libmpfr
b7e0a359 8version=4.0.1
6dca1d21 9release=1
22d4dbb4 10source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz)
6dca1d21
JB
11
12build() {
22d4dbb4 13 cd mpfr-$version
6dca1d21
JB
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
b1b926ea 16 --prefix=/usr \
3a054a5f
VM
17 --with-gmp-include=$CLFS/usr/include \
18 --with-gmp-lib=$CLFS/usr/lib
6dca1d21
JB
19
20 make
21 make DESTDIR=$PKG install
b1b926ea 22 rm -rf $PKG/usr/share
6dca1d21 23}