27 lines
789 B
Plaintext
27 lines
789 B
Plaintext
# Description: PKCS 11 modüllerini yüklemek ve numaralandırmak için bir yol sağlar.
|
||
# URL: http://p11-glue.freedesktop.org/p11-kit.html
|
||
# Packager: milisarge
|
||
# Depends on: libffi libtasn1
|
||
|
||
name=p11-kit
|
||
version=0.23.7
|
||
release=1
|
||
|
||
source=(https://github.com/p11-glue/p11-kit/archive/$version.tar.gz
|
||
libnssckbi-compat.patch)
|
||
|
||
build() {
|
||
cd $name-$version
|
||
patch -Np1 -i ../libnssckbi-compat.patch
|
||
NOCONFIGURE=1 ./autogen.sh
|
||
./configure --prefix=/usr \
|
||
--sysconfdir=/etc \
|
||
--localstatedir=/var \
|
||
--libexecdir=/usr/lib \
|
||
--with-module-path=/usr/lib/pkcs11 \
|
||
--with-trust-paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source:/etc/ssl
|
||
make
|
||
make DESTDIR="$PKG" install
|
||
ln -srf "$PKG/usr/bin/update-ca-trust" "$PKG/usr/lib/p11-kit/trust-extract-compat"
|
||
}
|