CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / libmpfr / Pkgfile
index ae5407247ed0fd16599ac32910850cd8e6fdf4a0..1cfc3ffc46bc80482071a27e535d2a886f4cd4a0 100644 (file)
@@ -5,13 +5,14 @@
 # Depends on: libgmp
 
 name=libmpfr
-version=3.0.1
+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 \