wok-current annotate p11-kit/receipt @ rev 13752

xpad: up 4.1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 02 22:16:05 2013 +0000 (2013-01-02)
parents
children 0946c634e902
rev   line source
slaxemulator@11294 1 # SliTaz package receipt.
slaxemulator@11294 2
slaxemulator@11294 3 PACKAGE="p11-kit"
slaxemulator@11294 4 VERSION="0.6"
slaxemulator@11294 5 CATEGORY="security"
slaxemulator@11294 6 LICENSE="BSD"
slaxemulator@11294 7 SHORT_DESC="Library to work with PKCS#11 modules"
slaxemulator@11294 8 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@11294 9 WEB_SITE="http://p11-glue.freedesktop.org"
slaxemulator@11294 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11294 11 WGET_URL="$WEB_SITE/releases/$TARBALL"
slaxemulator@11294 12
slaxemulator@11294 13 # Rules to configure and make the package.
slaxemulator@11294 14 compile_rules()
slaxemulator@11294 15 {
slaxemulator@11294 16 cd $src
slaxemulator@11294 17 ./configure \
slaxemulator@11294 18 --sysconfdir=/etc \
slaxemulator@11294 19 --with-module-path=/usr/lib/pkcs11 \
slaxemulator@11294 20 $CONFIGURE_ARGS &&
slaxemulator@11294 21 make && make install
slaxemulator@11294 22 }
slaxemulator@11294 23
slaxemulator@11294 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11294 25 genpkg_rules()
slaxemulator@11294 26 {
slaxemulator@11294 27 mkdir -p $fs/usr/lib
slaxemulator@11294 28 cp -a $install/etc $fs
slaxemulator@11294 29 cp -a $install/usr/bin $fs/usr
slaxemulator@11294 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11294 31 }