wok annotate p11-kit/receipt @ rev 25270
gst-ffmpeg*: ORC_TARGET_ALTIVEC_ALTIVEC not defined yet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 15:43:19 2022 +0000 (2022-07-17) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
rev | line source |
---|---|
slaxemulator@11294 | 1 # SliTaz package receipt. |
slaxemulator@11294 | 2 |
slaxemulator@11294 | 3 PACKAGE="p11-kit" |
Hans-G?nter@25083 | 4 VERSION="0.24.1" |
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@25083 | 15 BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev |
Hans-G?nter@21655 | 16 libtasn1-dev libxslt" |
slaxemulator@11294 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
slaxemulator@11294 | 24 # Rules to configure and make the package. |
slaxemulator@11294 | 25 compile_rules() |
slaxemulator@11294 | 26 { |
Hans-G?nter@21655 | 27 ./configure \ |
Hans-G?nter@21655 | 28 --sysconfdir=/etc \ |
Hans-G?nter@21655 | 29 --with-module-path=/usr/lib/pkcs11 \ |
slaxemulator@11294 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21655 | 31 make && |
Hans-G?nter@21655 | 32 make install |
slaxemulator@11294 | 33 } |
slaxemulator@11294 | 34 |
slaxemulator@11294 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11294 | 36 genpkg_rules() |
slaxemulator@11294 | 37 { |
Hans-G?nter@25083 | 38 cook_copy_folders bin |
Hans-G?nter@25083 | 39 cook_copy_folders etc |
Hans-G?nter@25083 | 40 cook_copy_files *.so* |
slaxemulator@11294 | 41 } |