2017-04-06 15:02:11 +02:00
|
|
|
|
# Description: PKCS 11 modüllerini yüklemek ve numaralandırmak için bir yol sağlar.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://p11-glue.freedesktop.org/p11-kit.html
|
2017-04-06 15:02:11 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: libffi libtasn1
|
|
|
|
|
|
|
|
|
|
name=p11-kit
|
2017-06-13 18:36:34 +02:00
|
|
|
|
version=0.23.7
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
|
|
|
|
|
2017-06-13 18:36:34 +02:00
|
|
|
|
source=(https://github.com/p11-glue/p11-kit/archive/$version.tar.gz
|
|
|
|
|
libnssckbi-compat.patch)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
2017-06-13 18:36:34 +02:00
|
|
|
|
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"
|
2017-04-06 15:02:11 +02:00
|
|
|
|
}
|