wok-current annotate 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 |
rev | line source |
---|---|
slaxemulator@11294 | 1 # SliTaz package receipt. |
slaxemulator@11294 | 2 |
slaxemulator@11294 | 3 PACKAGE="p11-kit" |
erkan@20383 | 4 VERSION="0.23.12" |
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" |
erkan@20383 | 9 WEB_SITE="https://p11-glue.freedesktop.org/" |
erkan@20383 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html" |
slaxemulator@11294 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erkan@20383 | 12 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL" |
erkan@20383 | 13 |
erkan@20383 | 14 BUILD_DEPENDS="gettext libtasn1-dev gtk-doc libxslt cacerts libffi-dev libffi glib glib-dev" |
slaxemulator@11294 | 15 |
slaxemulator@11294 | 16 # Rules to configure and make the package. |
slaxemulator@11294 | 17 compile_rules() |
slaxemulator@11294 | 18 { |
slaxemulator@11294 | 19 cd $src |
slaxemulator@11294 | 20 ./configure \ |
slaxemulator@11294 | 21 --sysconfdir=/etc \ |
slaxemulator@11294 | 22 --with-module-path=/usr/lib/pkcs11 \ |
slaxemulator@11294 | 23 $CONFIGURE_ARGS && |
slaxemulator@11294 | 24 make && make install |
slaxemulator@11294 | 25 } |
slaxemulator@11294 | 26 |
slaxemulator@11294 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11294 | 28 genpkg_rules() |
slaxemulator@11294 | 29 { |
slaxemulator@11294 | 30 mkdir -p $fs/usr/lib |
slaxemulator@11294 | 31 cp -a $install/etc $fs |
slaxemulator@11294 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@11294 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11294 | 34 } |