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
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: libgmp-32 nettle
|
2013-07-25 00:47:18 +10:00
|
|
|
|
|
|
|
name=nettle-32
|
2021-01-19 20:28:42 +11:00
|
|
|
version=3.7
|
2015-05-05 21:52:39 +10:00
|
|
|
release=1
|
2020-05-23 18:16:45 +10:00
|
|
|
source=(https://ftp.gnu.org/gnu/nettle/nettle-$version.tar.gz)
|
2013-07-25 00:47:18 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd nettle-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2015-11-19 01:25:30 +11:00
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--disable-documentation
|
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
|
|
|
}
|