wok view p11-kit/receipt @ rev 25634
TeXmacs, giblib: remove imlib2-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 24 10:47:01 2023 +0000 (11 months ago) |
parents | bca2771f44f4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="p11-kit"
4 VERSION="0.24.1"
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 --with-module-path=/usr/lib/pkcs11 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders etc
41 cook_copy_files *.so*
42 }