wok-current annotate keyutils/receipt @ rev 24701

updated keyutils and keyutils-dev (1.6.1 -> 1.6.3)
author Hans-G?nter Theisgen
date Mon Mar 14 07:58:24 2022 +0100 (2022-03-14)
parents 3e9a9990c985
children a4f828dcc860
rev   line source
pascal@20636 1 # SliTaz package receipt.
pascal@20636 2
pascal@20636 3 PACKAGE="keyutils"
Hans-G?nter@24701 4 VERSION="1.6.3"
pascal@20636 5 CATEGORY="security"
Hans-G?nter@22984 6 TAGS="cryptography"
Hans-G?nter@22984 7 SHORT_DESC="Control the key management system built into the Linux kernel."
pascal@20636 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20636 9 LICENSE="GPL2 LGPL2.1"
Hans-G?nter@22984 10 WEB_SITE="https://people.redhat.com/~dhowells/keyutils/"
Hans-G?nter@22984 11
Hans-G?nter@24701 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24701 13 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/$PACKAGE.git/snapshot/$TARBALL"
pascal@20636 14
pascal@20640 15 BUILD_DEPENDS="file"
pascal@20640 16
Hans-G?nter@22984 17 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d"
Hans-G?nter@22984 18
pascal@24076 19 current_version()
pascal@24076 20 {
pascal@24076 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24076 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24076 23 }
pascal@24076 24
pascal@20636 25 # Rules to configure and make the package.
pascal@20636 26 compile_rules()
pascal@20636 27 {
Hans-G?nter@22984 28 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' \
Hans-G?nter@22984 29 Makefile
Hans-G?nter@22984 30
pascal@20636 31 make &&
Hans-G?nter@24701 32 make install DESTDIR=$DESTDIR
pascal@20636 33 }
pascal@20636 34
pascal@20636 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20636 36 genpkg_rules()
pascal@20636 37 {
Hans-G?nter@22984 38 mkdir -p $fs/usr/share
Hans-G?nter@22984 39 mkdir -p $fs/lib
Hans-G?nter@22984 40
Hans-G?nter@22984 41 cp -a $install/usr/share/keyutils $fs/usr/share
Hans-G?nter@22984 42 cp -a $install/etc $fs
Hans-G?nter@22984 43 cp -a $install/bin $fs
Hans-G?nter@22984 44 cp -a $install/sbin $fs
Hans-G?nter@22984 45 cp -a $install/lib/*.so* $fs/lib
pascal@20636 46 }