X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=d00e529a8bd312e8727623e1bf903a5f478c662f;hb=06861c379b05ee1cde8eb3197d2f3d37c03147c6;hp=361de2ab1edff62626ba88d75670b2875ed06d48;hpb=dd31bced38c909ca694f542fda1e3d92bc500566;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 361de2a..d00e529 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,9 +5,10 @@ # Depends on: name=libgmp -version=5.1.2 +version=6.1.0 release=1 -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz) +source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \ + gmp.h) build() { cd gmp-$version @@ -15,15 +16,9 @@ build() { --host=$CTARGET \ --prefix=/usr \ --enable-cxx - - # Avoid relinkng - sed "s|\$progpath \$preserve_args --mode=relink \$libtool_args|echo \"Avoid relinking\"|g" -i libtool - make - - # Cheat the installer - cp .libs/libgmpxx.so.4.3.2 .libs/libgmpxx.so.4.3.2T - 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 }