CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libgmp: update to 5.1.2 and aligned with upstream
[ports/core-arm.git] / libgmp / Pkgfile
index 6a4904b883f2b23e233d189892749d011d94e133..9c1d6caf45e1693eb4eebae880c163623aaab839 100644 (file)
@@ -2,17 +2,18 @@
 # URL: http://gmplib.org/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
 
 name=libgmp
-version=4.3.2
-release=1
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
+version=5.1.2
+release=2
+source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz)
 
 build() {
   cd gmp-$version
   ./configure --prefix=/usr \
               --enable-cxx \
-              --build=$MACHTYPE
+              --build=arm-unknown-linux-gnueabihf
   make
   make DESTDIR=$PKG install
   rm -r $PKG/usr/share