2011-09-28 16:34:04 +00:00
|
|
|
# Template file for 'p11-kit'
|
|
|
|
pkgname=p11-kit
|
2013-03-17 09:35:46 +00:00
|
|
|
version=0.16.4
|
2013-04-13 11:29:34 +00:00
|
|
|
revision=2
|
2012-08-13 12:27:18 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-17 09:35:46 +00:00
|
|
|
configure_args="--without-system-anchors --with-system-certificates=/etc/ssl/certs"
|
2011-09-28 16:34:04 +00:00
|
|
|
short_desc="Provides a way to load and enumerate PKCS#11 modules"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-08-13 12:27:18 +00:00
|
|
|
homepage="http://p11-glue.freedesktop.org"
|
|
|
|
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
|
2013-03-17 09:35:46 +00:00
|
|
|
checksum=fe0cb3857529eeaf8e74cc6e704d3ffff4146446f15c139e3c38bf438b13d700
|
2011-09-28 16:34:04 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-13 11:29:34 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libtasn1-devel"
|
2011-09-28 16:34:04 +00:00
|
|
|
|
2011-11-19 01:18:18 +00:00
|
|
|
post_install() {
|
2013-04-13 11:29:34 +00:00
|
|
|
mv ${DESTDIR}/etc/pkcs11/pkcs11.conf.example ${DESTDIR}/etc/pkcs11/pkcs11.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
p11-kit-devel_package() {
|
|
|
|
depends="p11-kit>=${version}"
|
|
|
|
short_desc="${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 etc
|
|
|
|
vmove usr
|
|
|
|
}
|
2011-09-28 16:34:04 +00:00
|
|
|
}
|