summaryrefslogtreecommitdiffstats
path: root/p11-kit/Pkgfile
blob: e4d038b760fd1f30c36f9b0c483c41e8e9810752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.5
release=1
source=(http://p11-glue.freedesktop.org/releases/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc
	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/
}