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

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 3686602f1363
children d5aab818505e
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/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 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 }