void-packages/srcpkgs/p11-kit/template
2013-06-11 00:25:14 +02:00

42 lines
1.1 KiB
Text

# Template file for 'p11-kit'
pkgname=p11-kit
version=0.18.3
revision=1
build_style=gnu-configure
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
short_desc="Provides a way to load and enumerate PKCS#11 modules"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://p11-glue.freedesktop.org"
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
checksum=89679af1bcfa182f475aa79a05a9e1182a28d52c57e8ced2f0e18aa772cf13d4
long_desc="
Provides a standard configuration setup for installing PKCS#11 modules in
such a way that they're discoverable.
Also solves problems with coordinating the use of PKCS#11 by different
components or libraries living in the same process."
hostmakedepends="pkg-config"
makedepends="libtasn1-devel"
post_install() {
mv ${DESTDIR}/etc/pkcs11/pkcs11.conf.example ${DESTDIR}/etc/pkcs11/pkcs11.conf
}
p11-kit-devel_package() {
depends="p11-kit>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
p11-kit_package() {
conf_files="/etc/pkcs11/pkcs11.conf"
pkg_install() {
vmove all
}
}