forked from ports/compat-32
25 lines
498 B
Plaintext
25 lines
498 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: libgmp-32 nettle
|
|
|
|
name=nettle-32
|
|
version=3.6
|
|
release=1
|
|
source=(https://www.lysator.liu.se/~nisse/archive/nettle-$version.tar.gz)
|
|
|
|
build() {
|
|
cd nettle-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-documentation
|
|
|
|
make
|
|
make check
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include}
|
|
}
|