commit 05003d187f0e4202c68f55e27fb65d0464ca4db4 Author: Danny Rawlins <monster.romster@gmail.com> Date: Mon Mar 28 11:00:33 2016 +1100 libgmp-32: clean up build for i686 diff --git a/libgmp-32/Pkgfile b/libgmp-32/Pkgfile index 9a78170..37a483a 100644 --- a/libgmp-32/Pkgfile +++ b/libgmp-32/Pkgfile @@ -4,22 +4,23 @@ name=libgmp-32 version=6.1.0 -release=1 -source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz) +release=2 +source=(http://gmplib.org/download/gmp/gmp-$version.tar.xz) build() { - cd gmp-${version%a} + cd gmp-$version - ABI=32 ./configure \ - --prefix=/usr \ - --libdir=/usr/lib32 \ - --enable-cxx + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-cxx \ + --build=i686-pc-linux-gnu - make - make DESTDIR=$PKG install + make + make DESTDIR=$PKG install - mv $PKG/usr/include/gmp{,-32}.h - rm $PKG/usr/include/gmpxx.h + mv $PKG/usr/include/gmp{,-32}.h + rm $PKG/usr/include/gmpxx.h - rm -r $PKG/usr/share + rm -r $PKG/usr/share }