wok-next view p11-kit/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | 7ee2afdb0ea6 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="p11-kit"
4 VERSION="0.23.8"
5 CATEGORY="security"
6 SHORT_DESC="Library to work with PKCS#11 modules"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://p11-glue.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="gettext libtasn1-dev gtk-doc libxslt cacerts"
16 SPLIT="libp11-kit p11-kit p11-kit-dev"
18 compile_rules() {
19 fix ld
20 ./configure \
21 --sysconfdir=/etc \
22 --with-trust-paths=/etc/pki/anchors \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make && make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libp11-kit)
31 copy libp11-kit.so* /usr/lib/p11-kit-proxy.so
32 DEPENDS="libffi"
33 ;;
34 p11-kit)
35 copy @std @rm
36 DEPENDS="libffi libp11-kit libtasn1"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="p11-kit libffi-dev libtasn1-dev"
41 ;;
42 esac
43 }