summaryrefslogtreecommitdiffstats
path: root/p11-kit/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
committerpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
commitf35fb119bf993d3454668f50a17334e09b77160b (patch)
tree9f1d840f10e24848f8b94eb9c5c4e811e0984232 /p11-kit/Pkgfile
parent2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff)
parent933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff)
downloadnutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'p11-kit/Pkgfile')
-rw-r--r--p11-kit/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/p11-kit/Pkgfile b/p11-kit/Pkgfile
new file mode 100644
index 000000000..e1ea25d78
--- /dev/null
+++ b/p11-kit/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Permet de charger et énumérer des modules PKCS#11
+# URL: http://p11-glue.freedesktop.org/p11-kit.html
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on:
+# Run on:
+
+name=p11-kit
+version=0.7
+release=1
+source=(http://p11-glue.freedesktop.org/releases/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$name \
+ --with-module-path=/usr/lib/pkcs11
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/pkcs11/modules
+ mv $PKG/etc/pkcs11/pkcs11.conf.example $PKG/etc/pkcs11/pkcs11.conf
+ rm -rf $PKG/usr/share/
+}