compat-32/nettle-32/Pkgfile
2013-07-26 23:20:37 +10:00

32 lines
729 B
Plaintext

# Description: Low-level cryptographic library
# URL: http://www.lysator.liu.se/~nisse/nettle/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: nettle libgmp-32
name=nettle-32
version=2.7.1
release=3
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
make
#make check
make DESTDIR=$PKG install
rm -r $PKG/usr/{bin,include}
}