2011-09-28 18:34:04 +02:00
|
|
|
# Template file for 'p11-kit'
|
|
|
|
pkgname=p11-kit
|
2013-09-25 08:47:42 +02:00
|
|
|
version=0.20.1
|
2013-06-11 00:25:14 +02:00
|
|
|
revision=1
|
2012-08-13 14:27:18 +02:00
|
|
|
build_style=gnu-configure
|
2013-06-11 00:25:14 +02:00
|
|
|
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
|
2011-09-28 18:34:04 +02:00
|
|
|
short_desc="Provides a way to load and enumerate PKCS#11 modules"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-08-13 14:27:18 +02:00
|
|
|
homepage="http://p11-glue.freedesktop.org"
|
|
|
|
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
|
2013-09-25 08:47:42 +02:00
|
|
|
checksum=524548f0a3bfa1b5712721165b49f0300fb244c907533677e88a9c9743eb4a53
|
2011-09-28 18:34:04 +02: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 13:29:34 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-09-13 14:18:11 +02:00
|
|
|
makedepends="libtasn1-devel libffi-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/pkcs11/pkcs11.conf"
|
2011-09-28 18:34:04 +02:00
|
|
|
|
2011-11-19 02:18:18 +01:00
|
|
|
post_install() {
|
2013-04-13 13:29:34 +02:00
|
|
|
mv ${DESTDIR}/etc/pkcs11/pkcs11.conf.example ${DESTDIR}/etc/pkcs11/pkcs11.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
p11-kit-devel_package() {
|
|
|
|
depends="p11-kit>=${version}"
|
2013-06-11 00:25:14 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 13:29:34 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-09-13 14:16:54 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 13:29:34 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|