wok annotate p11-kit/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (29 hours ago) |
parents | bca2771f44f4 |
children |
rev | line source |
---|---|
slaxemulator@11294 | 1 # SliTaz package receipt. |
slaxemulator@11294 | 2 |
slaxemulator@11294 | 3 PACKAGE="p11-kit" |
Hans-G?nter@25083 | 4 VERSION="0.24.1" |
slaxemulator@11294 | 5 CATEGORY="security" |
Hans-G?nter@21655 | 6 SHORT_DESC="Library to work with PKCS#11 modules." |
Hans-G?nter@21655 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11294 | 8 LICENSE="BSD" |
erkan@20383 | 9 WEB_SITE="https://p11-glue.freedesktop.org/" |
erkan@20383 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html" |
Hans-G?nter@21655 | 11 |
Hans-G?nter@23271 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
erkan@20383 | 13 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL" |
erkan@20383 | 14 |
Hans-G?nter@25083 | 15 BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev |
Hans-G?nter@21655 | 16 libtasn1-dev libxslt" |
slaxemulator@11294 | 17 |
pascal@25601 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25601 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
slaxemulator@11294 | 25 # Rules to configure and make the package. |
slaxemulator@11294 | 26 compile_rules() |
slaxemulator@11294 | 27 { |
Hans-G?nter@21655 | 28 ./configure \ |
Hans-G?nter@21655 | 29 --sysconfdir=/etc \ |
Hans-G?nter@21655 | 30 --with-module-path=/usr/lib/pkcs11 \ |
slaxemulator@11294 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21655 | 32 make && |
Hans-G?nter@21655 | 33 make install |
slaxemulator@11294 | 34 } |
slaxemulator@11294 | 35 |
slaxemulator@11294 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11294 | 37 genpkg_rules() |
slaxemulator@11294 | 38 { |
Hans-G?nter@25083 | 39 cook_copy_folders bin |
Hans-G?nter@25083 | 40 cook_copy_folders etc |
Hans-G?nter@25083 | 41 cook_copy_files *.so* |
slaxemulator@11294 | 42 } |