CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
make: fixed build and updated release
[crossrootfs.git] / libgmp / Pkgfile
index 124712a32e8c2461e34a76841c52160c342cd3ad..9df41b51c0c7dcf2bb71b46c767418b75f29b75f 100644 (file)
@@ -5,20 +5,20 @@
 # Depends on:
 
 name=libgmp
-version=6.0.0a
+version=6.1.2
 release=1
-source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \
+source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \
         gmp.h)
 
 build() {
-  cd gmp-${version%a}
+  cd gmp-$version
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --enable-cxx
   make
   make DESTDIR=$PKG install
-  mv $PKG/usr/include/gmp{,-32}.h
+  mv $PKG/usr/include/gmp{,-64}.h
   install -m 0644 $SRC/gmp.h $PKG/usr/include/
   rm -r $PKG/usr/share
 }