wok-undigest rev 1240

added recipes for p11-kit and p11-kit-dev
author Hans-G?nter Theisgen
date Sat Aug 06 17:37:04 2022 +0100 (21 months ago)
parents 41346171e2c5
children bf3ecb39f93b
files p11-kit-dev/receipt p11-kit/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/p11-kit-dev/receipt	Sat Aug 06 17:37:04 2022 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="p11-kit-dev"
     1.7 +VERSION="0.24.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Library to work with PKCS#11 modules, development files."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://p11-glue.freedesktop.org/"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html"
    1.14 +
    1.15 +DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev \
    1.16 +	libtasn1-dev libxslt p11-kit pkg-config"
    1.17 +WANTED="p11-kit"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	cook_copy_folders	include
    1.23 +	cook_copy_folders	pkgconfig
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/p11-kit/receipt	Sat Aug 06 17:37:04 2022 +0100
     2.3 @@ -0,0 +1,41 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="p11-kit"
     2.7 +VERSION="0.24.1"
     2.8 +CATEGORY="security"
     2.9 +SHORT_DESC="Library to work with PKCS#11 modules."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +LICENSE="BSD"
    2.12 +WEB_SITE="https://p11-glue.freedesktop.org/"
    2.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 +WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL"
    2.17 +
    2.18 +BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev
    2.19 +	libtasn1-dev libxslt"
    2.20 +
    2.21 +current_version()
    2.22 +{
    2.23 +	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    2.24 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    2.25 +}
    2.26 +
    2.27 +# Rules to configure and make the package.
    2.28 +compile_rules()
    2.29 +{
    2.30 +	./configure					\
    2.31 +		--sysconfdir=/etc			\
    2.32 +		--with-module-path=/usr/lib/pkcs11	\
    2.33 +		$CONFIGURE_ARGS && 
    2.34 +	make &&
    2.35 +	make install
    2.36 +}
    2.37 +
    2.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.39 +genpkg_rules()
    2.40 +{
    2.41 +	cook_copy_folders	bin
    2.42 +	cook_copy_folders	etc
    2.43 +	cook_copy_files		*.so*
    2.44 +}