CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: updated to 2.4.2
[crossrootfs.git] / libmpfr / Pkgfile
index 732c6d0bfe5fa2afc917142385318c630b4903e6..a10ee4180591fc5496d073fa90f15e961a1f071f 100644 (file)
@@ -1,23 +1,23 @@
 # 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
-# Ach Maintainer: CRUX ARM System Team
+# Ach Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org
 # Depends on: libgmp
 
 name=libmpfr
-version=2.4.1
+version=2.4.2
 release=1
-source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 \
-        mpfr-$version-branch_update-1.patch)
+source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2)
 
 build() {
   cd mpfr-$version
-  patch -p1 -i $SRC/mpfr-$version-branch_update-1.patch
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
-              --prefix=/usr
+              --prefix=/usr \
+              --with-gmp=$CLFS
 
   make
   make DESTDIR=$PKG install
-  rm -r $PKG/usr/share
+  rm -rf $PKG/usr/share
 }