wok-next view p11-kit/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5ffe59e2de3a |
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.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-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 }