X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=fd277746db74b9119fe7fe5e1dc8038112c46957;hb=ceaaca5de19569dfd51bccde4abf3205e16332ff;hp=c7d919f5bac6b7723b1d64a8a2bfba81b693c083;hpb=4160b1d45295d11512f4430502cee99d23bf122e;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index c7d919f..fd27774 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,9 +5,10 @@ # Depends on: name=libgmp -version=5.0.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 @@ -15,8 +16,9 @@ build() { --host=$CTARGET \ --prefix=/usr \ --enable-cxx - make make DESTDIR=$PKG install + mv $PKG/usr/include/gmp{,-32}.h + install -m 0644 $SRC/gmp.h $PKG/usr/include/ rm -r $PKG/usr/share }