wok annotate keyutils/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (2 months ago)
parents a4f828dcc860
children
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"
pascal@24937 10 WEB_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/"
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@25608 19 # What is the latest version available today?
pascal@24076 20 current_version()
pascal@24076 21 {
pascal@25608 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@25608 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24076 24 }
pascal@24076 25
pascal@20636 26 # Rules to configure and make the package.
pascal@20636 27 compile_rules()
pascal@20636 28 {
Hans-G?nter@22984 29 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' \
Hans-G?nter@22984 30 Makefile
Hans-G?nter@22984 31
pascal@20636 32 make &&
Hans-G?nter@24701 33 make install DESTDIR=$DESTDIR
pascal@20636 34 }
pascal@20636 35
pascal@20636 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20636 37 genpkg_rules()
pascal@20636 38 {
Hans-G?nter@22984 39 mkdir -p $fs/usr/share
Hans-G?nter@22984 40 mkdir -p $fs/lib
Hans-G?nter@22984 41
Hans-G?nter@22984 42 cp -a $install/usr/share/keyutils $fs/usr/share
Hans-G?nter@22984 43 cp -a $install/etc $fs
Hans-G?nter@22984 44 cp -a $install/bin $fs
Hans-G?nter@22984 45 cp -a $install/sbin $fs
Hans-G?nter@22984 46 cp -a $install/lib/*.so* $fs/lib
pascal@20636 47 }