X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=9df41b51c0c7dcf2bb71b46c767418b75f29b75f;hb=fa6cd34777268040e8d88ae86dcdaa984a3a8710;hp=d9b3c914ebdf0ba6575275455a1d8760f2b83fac;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index d9b3c91..9df41b5 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,19 +5,20 @@ # Depends on: name=libgmp -version=4.3.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 - ./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 }