summaryrefslogtreecommitdiffstats
path: root/base/nettle/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/nettle/Pkgfile')
-rw-r--r--base/nettle/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/base/nettle/Pkgfile b/base/nettle/Pkgfile
new file mode 100644
index 000000000..5ed0b8a2c
--- /dev/null
+++ b/base/nettle/Pkgfile
@@ -0,0 +1,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
+}