summaryrefslogtreecommitdiffstats
path: root/base/nettle/Pkgfile
blob: 5ed0b8a2ca34da3f7a6f1c9962e1f88f0bcf3802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: Librairie de cryptogriphie bas niveau
# URL: http://www.lysator.liu.se/~nisse/nettle/
# Packager: tnut at nutyx dot com
# Maintainer: NuTyX core team

name=nettle
version=2.1
release=1
source=(ftp://ftp.lysator.liu.se/pub/security/lsh/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
	--libdir=/usr/lib \
	--enable-shared \
	--disable-static
make
make DESTDIR=$PKG install
rm -f $PKG/usr/lib/{libhogweed,libnettle}.a
}