2011-09-28 16:34:04 +00:00
|
|
|
# Template file for 'p11-kit'
|
|
|
|
pkgname=p11-kit
|
2014-02-01 15:05:00 +00:00
|
|
|
version=0.20.2
|
2014-06-06 03:22:23 +00:00
|
|
|
revision=3
|
2012-08-13 12:27:18 +00:00
|
|
|
build_style=gnu-configure
|
2013-06-10 22:25:14 +00:00
|
|
|
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
|
2014-02-01 15:05:00 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libtasn1-devel libffi-devel"
|
|
|
|
conf_files="/etc/pkcs11/pkcs11.conf"
|
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"
|
2014-02-01 15:07:20 +00:00
|
|
|
checksum=04ed51d92fc46c2b632e13d73e0293090e9f8aa29c8aa8c6bc95c12475e5ef7c
|
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() {
|
2014-02-01 15:05:00 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-10 22:25:14 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 11:29:34 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-09-13 12:16:54 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 11:29:34 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|