X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=1fae4e420213c61902a927e8ae8859e3495da08f;hb=refs%2Fheads%2F3.4;hp=0feb04a216b3290a01c4ecc5a2cc6cfbb6e63b1c;hpb=13d3564b3ed0281038e17549a5a137d6616fe5b6;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 0feb04a..1fae4e4 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,9 +5,10 @@ # Depends on: name=libgmp -version=5.0.5 +version=6.1.2 release=1 -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz) +source=(ftp://ftp.gnu.org/gnu/gmp/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 }