wok-current annotate p11-kit/receipt @ rev 24737

updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author Hans-G?nter Theisgen
date Wed Mar 16 09:39:00 2022 +0100 (2022-03-16)
parents 5b8b2ad6bf5e
children bca2771f44f4
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
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 {
slaxemulator@11294 38 mkdir -p $fs/usr/lib
Hans-G?nter@21655 39
Hans-G?nter@21655 40 cp -a $install/etc $fs
Hans-G?nter@21655 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21655 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11294 43 }