27 lines
607 B
Plaintext
27 lines
607 B
Plaintext
# Description: Provides a way to load and enumerate PKCS#11 modules
|
|
# URL: http://p11-glue.freedesktop.org/p11-kit.html
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libtasn1 libffi
|
|
|
|
name=p11-kit
|
|
version=0.23.10
|
|
release=1
|
|
source=(https://github.com/p11-glue/$name/releases/download/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-module-path=/usr/lib/pkcs11 \
|
|
--with-trust-paths=/etc/ssl
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
|
}
|