wok-6.x annotate p11-kit/receipt @ rev 23914
Add linux-mmc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 17:34:09 2020 +0000 (2020-08-16) |
parents | f9f616c89890 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@11294 | 1 # SliTaz package receipt. |
slaxemulator@11294 | 2 |
slaxemulator@11294 | 3 PACKAGE="p11-kit" |
Hans-G?nter@23271 | 4 VERSION="0.23.20" |
slaxemulator@11294 | 5 CATEGORY="security" |
Hans-G?nter@21655 | 6 SHORT_DESC="Library to work with PKCS#11 modules." |
Hans-G?nter@21655 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11294 | 8 LICENSE="BSD" |
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" |
Hans-G?nter@21655 | 11 |
Hans-G?nter@23271 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
erkan@20383 | 13 WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL" |
erkan@20383 | 14 |
Hans-G?nter@21655 | 15 BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev \ |
Hans-G?nter@21655 | 16 libtasn1-dev libxslt" |
slaxemulator@11294 | 17 |
slaxemulator@11294 | 18 # Rules to configure and make the package. |
slaxemulator@11294 | 19 compile_rules() |
slaxemulator@11294 | 20 { |
Hans-G?nter@21655 | 21 ./configure \ |
Hans-G?nter@21655 | 22 --sysconfdir=/etc \ |
Hans-G?nter@21655 | 23 --with-module-path=/usr/lib/pkcs11 \ |
slaxemulator@11294 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21655 | 25 make && |
Hans-G?nter@21655 | 26 make install |
slaxemulator@11294 | 27 } |
slaxemulator@11294 | 28 |
slaxemulator@11294 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11294 | 30 genpkg_rules() |
slaxemulator@11294 | 31 { |
slaxemulator@11294 | 32 mkdir -p $fs/usr/lib |
Hans-G?nter@21655 | 33 |
Hans-G?nter@21655 | 34 cp -a $install/etc $fs |
Hans-G?nter@21655 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21655 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11294 | 37 } |