wok-next view p11-kit/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-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 }