X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=9df41b51c0c7dcf2bb71b46c767418b75f29b75f;hb=fa6cd34777268040e8d88ae86dcdaa984a3a8710;hp=affbdd51b642caa3e1856e127c64d163df441ac7;hpb=84729e9343a9a8499ad168c3eb194adcdbbc2b9c;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index affbdd5..9df41b5 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -1,21 +1,24 @@ # Description: Free library for arbitrary precision arithmetic # URL: http://gmplib.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=libgmp -version=4.3.1 +version=6.1.2 release=1 -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2) +source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \ + gmp.h) build() { - cd gmp-$version - ./configure --build=$CHOST \ - --host=$CTARGET \ - --prefix=/usr \ - --enable-cxx - make - make DESTDIR=$PKG install - rm -r $PKG/usr/info + cd gmp-$version + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --enable-cxx + make + make DESTDIR=$PKG install + mv $PKG/usr/include/gmp{,-64}.h + install -m 0644 $SRC/gmp.h $PKG/usr/include/ + rm -r $PKG/usr/share }