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 ae5407247ed0fd16599ac32910850cd8e6fdf4a0..d3df3aea2a2bed613d269a1a3cdc67359ff6c227 100644 (file)
@@ -5,13 +5,12 @@
 # Depends on: libgmp
 
 name=libmpfr
-version=3.0.1
+version=4.0.1
 release=1
-source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz)
+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 \