wok-next view p11-kit/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 325f12f703c3 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="p11-kit"
4 VERSION="0.23.12"
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 libffi-dev glib-dev"
16 SPLIT="libp11-kit p11-kit p11-kit-dev"
18 compile_rules() {
19 ./configure \
20 --with-trust-paths=/etc/pki/anchors \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libp11-kit)
30 copy libp11-kit.so* /usr/lib/p11-kit-proxy.so
31 DEPENDS="libffi"
32 ;;
33 p11-kit)
34 copy @std @rm
35 DEPENDS="libffi libp11-kit libtasn1"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }