libgmp-32: clean up build for i686
This commit is contained in:
parent
0a059aef63
commit
05003d187f
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user