wok diff p11-kit/receipt @ rev 17266

qemu: *any* cloop format support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 11:06:43 2014 +0200 (2014-10-23)
parents
children 0946c634e902
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/p11-kit/receipt	Thu Oct 23 11:06:43 2014 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="p11-kit"
     1.7 +VERSION="0.6"
     1.8 +CATEGORY="security"
     1.9 +LICENSE="BSD"
    1.10 +SHORT_DESC="Library to work with PKCS#11 modules"
    1.11 +MAINTAINER="slaxemulator@gmail.com"
    1.12 +WEB_SITE="http://p11-glue.freedesktop.org"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$WEB_SITE/releases/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure \
    1.21 +		--sysconfdir=/etc \
    1.22 +		--with-module-path=/usr/lib/pkcs11 \
    1.23 +		$CONFIGURE_ARGS && 
    1.24 +	make && make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $install/etc $fs
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.34 +}