wok-next view p11-kit/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0e7893ac206d |
children | 41db963590d8 |
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 ./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 DEPENDS="p11-kit libffi-dev libtasn1-dev"
40 ;;
41 esac
42 }