wok-6.x view p11-kit/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | 5b8b2ad6bf5e |
children | bca2771f44f4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p11-kit"
4 VERSION="0.23.20"
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.xz"
13 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev \
16 libtasn1-dev libxslt"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --with-module-path=/usr/lib/pkcs11 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }