nettle-32: fixed for libgmp and libgmp-32 header changes

This commit is contained in:
Matt Housh 2013-08-07 08:06:19 -05:00
parent 02d26fed76
commit 53c23b4894

View File

@ -5,27 +5,19 @@
name=nettle-32
version=2.7.1
release=3
release=4
source=(http://www.lysator.liu.se/~nisse/archive/nettle-$version.tar.gz)
build() {
cd nettle-$version
# do not remove this unless you check with
# make check and wine iexplore https://...
[ "$CC" ] || CC=gcc
export CC="$CC -m32"
# else it'll fail on /some/ tests and iexplore https
# last tested on version 2.7.1
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--with-include-path=/usr/lib32/gmp
--libdir=/usr/lib32
make
#make check
make check
make DESTDIR=$PKG install
rm -r $PKG/usr/{bin,include}
rm -r $PKG/usr/{bin,include,share}
}