wok view p11-kit/receipt @ rev 19787
cookutils: add configs_files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 15:11:33 2017 +0100 (2017-02-22) |
parents | |
children | 0946c634e902 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p11-kit"
4 VERSION="0.6"
5 CATEGORY="security"
6 LICENSE="BSD"
7 SHORT_DESC="Library to work with PKCS#11 modules"
8 MAINTAINER="slaxemulator@gmail.com"
9 WEB_SITE="http://p11-glue.freedesktop.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --sysconfdir=/etc \
19 --with-module-path=/usr/lib/pkcs11 \
20 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/etc $fs
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }