# HG changeset patch # User Christopher Rogers # Date 1321003768 0 # Node ID 5f04520101d8ee64f6010703c36dae069dc4fa73 # Parent a7e0e48992b7e73c8a40375a856f2df45f4a3fec Add p11-kit. diff -r a7e0e48992b7 -r 5f04520101d8 p11-kit-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/p11-kit-dev/receipt Fri Nov 11 09:29:28 2011 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="p11-kit-dev" +VERSION="0.6" +CATEGORY="development" +SHORT_DESC="development" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://p11-glue.freedesktop.org" +DEPENDS="p11-kit" +WANTED="p11-kit" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r a7e0e48992b7 -r 5f04520101d8 p11-kit/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/p11-kit/receipt Fri Nov 11 09:29:28 2011 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="p11-kit" +VERSION="0.6" +CATEGORY="security" +LICENSE="BSD" +SHORT_DESC="Library to work with PKCS#11 modules" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://p11-glue.freedesktop.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --sysconfdir=/etc \ + --with-module-path=/usr/lib/pkcs11 \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}