wok view keyutils/receipt @ rev 25545

Add pom1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 15 16:15:09 2023 +0000 (20 months ago)
parents 7d684b96da5f
children b81ceff0b056
line source
1 # SliTaz package receipt.
3 PACKAGE="keyutils"
4 VERSION="1.6.3"
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://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/$PACKAGE.git/snapshot/$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 install DESTDIR=$DESTDIR
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 }