wok view keyutils/receipt @ rev 24149

gcc: remove obsolete gawk comment
author Richard Dunbar <mojo@slitaz.org>
date Sat Nov 27 15:12:31 2021 -0500 (2021-11-27)
parents 50051b5bf172
children 7d684b96da5f
line source
1 # SliTaz package receipt.
3 PACKAGE="keyutils"
4 VERSION="1.6.1"
5 CATEGORY="security"
6 TAGS="cryptography"
7 SHORT_DESC="Control the key management system built into the Linux kernel."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://people.redhat.com/~dhowells/keyutils/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 BUILD_DEPENDS="file"
17 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' \
29 Makefile
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 mkdir -p $fs/lib
41 cp -a $install/usr/share/keyutils $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/bin $fs
44 cp -a $install/sbin $fs
45 cp -a $install/lib/*.so* $fs/lib
46 }