wok rev 11294

Add p11-kit.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 11 09:29:28 2011 +0000 (2011-11-11)
parents a7e0e48992b7
children 3865e300cac8
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	Fri Nov 11 09:29:28 2011 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="p11-kit-dev"
     1.7 +VERSION="0.6"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="development"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://p11-glue.freedesktop.org"
    1.12 +DEPENDS="p11-kit"
    1.13 +WANTED="p11-kit"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $install/usr/include $fs/usr
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/p11-kit/receipt	Fri Nov 11 09:29:28 2011 +0000
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="p11-kit"
     2.7 +VERSION="0.6"
     2.8 +CATEGORY="security"
     2.9 +LICENSE="BSD"
    2.10 +SHORT_DESC="Library to work with PKCS#11 modules"
    2.11 +MAINTAINER="slaxemulator@gmail.com"
    2.12 +WEB_SITE="http://p11-glue.freedesktop.org"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="$WEB_SITE/releases/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure \
    2.21 +		--sysconfdir=/etc \
    2.22 +		--with-module-path=/usr/lib/pkcs11 \
    2.23 +		$CONFIGURE_ARGS && 
    2.24 +	make && make install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/lib
    2.31 +	cp -a $install/etc $fs
    2.32 +	cp -a $install/usr/bin $fs/usr
    2.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.34 +}