CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
m4: updated mandir
[crossrootfs.git] / libmpfr / Pkgfile
index 8c03f7645696dc60958fff9375459282a40743b3..1cfc3ffc46bc80482071a27e535d2a886f4cd4a0 100644 (file)
@@ -5,13 +5,14 @@
 # Depends on: libgmp
 
 name=libmpfr
-version=3.1.2
+version=3.1.3-p5
 release=1
-source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz)
+source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
+        $name-$version.patch.gz)
 
 build() {
   cd mpfr-${version%-*}
-
+  gunzip -c $SRC/$name-$version.patch.gz | patch -p1
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \