CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: updated to 4.0.1
[crossrootfs.git] / libmpfr / Pkgfile
index 232b0d4687db6b8938b09ad1f6005c8bee04653f..d3df3aea2a2bed613d269a1a3cdc67359ff6c227 100644 (file)
@@ -1,21 +1,21 @@
 # Description: C library for multiple-precision floating-point computations with correct rounding
 # URL: http://www.mpfr.org/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: libgmp
 
 name=libmpfr
-version=2.4.2
+version=4.0.1
 release=1
-source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2)
+source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz)
 
 build() {
   cd mpfr-$version
-
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --with-gmp=$CLFS
+              --with-gmp-include=$CLFS/usr/include \
+              --with-gmp-lib=$CLFS/usr/lib
 
   make
   make DESTDIR=$PKG install