X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=9df41b51c0c7dcf2bb71b46c767418b75f29b75f;hb=e7c4ee68db33898057b89661d253311e4eed7d35;hp=1f13b1cc00234c7cdb8ebcc5888ed9248803ca48;hpb=107b428fcf261affa5efec28458c56c45129ff5c;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 1f13b1c..9df41b5 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,9 +5,10 @@ # Depends on: name=libgmp -version=5.0.2 +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 @@ -15,8 +16,9 @@ build() { --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 }