wok-next view p11-kit/receipt @ rev 21410

updated polkit (0.113 -> 0.116)
author Hans-G?nter Theisgen
date Fri Apr 24 17:53:05 2020 +0100 (2020-04-24)
parents d5aab818505e
children
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://p11-glue.github.io/p11-glue/index.html"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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-dev libtasn1-dev gtk-doc libxslt cacerts libffi-dev \
16 glib-dev"
17 SPLIT="libp11-kit $PACKAGE $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --with-trust-paths=/etc/pki/anchors \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 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 ;;
41 esac
42 }