wok-current view p11-kit/receipt @ rev 20747
Up par2 (0.8.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 10 12:08:41 2019 +0100 (2019-02-10) |
parents | 5f04520101d8 |
children | f9f616c89890 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p11-kit"
4 VERSION="0.23.12"
5 CATEGORY="security"
6 LICENSE="BSD"
7 SHORT_DESC="Library to work with PKCS#11 modules"
8 MAINTAINER="slaxemulator@gmail.com"
9 WEB_SITE="https://p11-glue.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="gettext libtasn1-dev gtk-doc libxslt cacerts libffi-dev libffi glib glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --sysconfdir=/etc \
22 --with-module-path=/usr/lib/pkcs11 \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }