From 69a3a616ba4359d43ba20d3352048d443eb9c637 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 12 May 2012 12:21:54 +0200 Subject: p11-kit, ajout --- p11-kit/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 p11-kit/Pkgfile (limited to 'p11-kit/Pkgfile') 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 +# 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/ +} -- cgit v1.2.3-70-g09d2