X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libgmp%2FPkgfile;h=361de2ab1edff62626ba88d75670b2875ed06d48;hb=b3a46298541b2741e1ca262475c2112a6e549176;hp=1f13b1cc00234c7cdb8ebcc5888ed9248803ca48;hpb=107b428fcf261affa5efec28458c56c45129ff5c;p=crossrootfs.git diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 1f13b1c..361de2a 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -5,9 +5,9 @@ # Depends on: name=libgmp -version=5.0.2 +version=5.1.2 release=1 -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2) +source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz) build() { cd gmp-$version @@ -16,7 +16,14 @@ build() { --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 rm -r $PKG/usr/share }