31 lines
894 B
Plaintext
31 lines
894 B
Plaintext
# Template file for 'p11-kit'
|
|
pkgname=p11-kit
|
|
version=0.20.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libtasn1-devel libffi-devel"
|
|
conf_files="/etc/pkcs11/pkcs11.conf"
|
|
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=0766dcad4639864679f06b623bc948f2f38622fd7709538ae933aa45ded24ffb
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/etc/pkcs11/pkcs11.conf.example ${DESTDIR}/etc/pkcs11/pkcs11.conf
|
|
}
|
|
|
|
p11-kit-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share
|
|
}
|
|
}
|