CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: Aligned with upstream
[crossrootfs.git] / libmpfr / Pkgfile
index ab98ae5cd73e37921a1f8b53c383bdddfe8b0800..8c03f7645696dc60958fff9375459282a40743b3 100644 (file)
@@ -5,17 +5,18 @@
 # Depends on: libgmp
 
 name=libmpfr
-version=2.4.2
+version=3.1.2
 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
+  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