2013-07-25 00:47:18 +10:00
|
|
|
# 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
|
2013-08-07 08:06:19 -05:00
|
|
|
release=4
|
2013-07-25 00:47:18 +10:00
|
|
|
source=(http://www.lysator.liu.se/~nisse/archive/nettle-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd nettle-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2013-08-07 08:06:19 -05:00
|
|
|
--libdir=/usr/lib32
|
2013-07-25 00:47:18 +10:00
|
|
|
|
|
|
|
make
|
2013-08-07 08:06:19 -05:00
|
|
|
make check
|
2013-07-25 00:47:18 +10:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2013-08-08 18:32:20 -05:00
|
|
|
rm -r $PKG/usr/{bin,include}
|
2013-07-25 00:47:18 +10:00
|
|
|
}
|