wok view keyutils/receipt @ rev 21419

php: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 17:27:05 2019 +0200 (2019-04-24)
parents 60a61a9abccd
children 50051b5bf172
line source
1 # SliTaz package receipt.
3 PACKAGE="keyutils"
4 VERSION="1.6"
5 CATEGORY="security"
6 SHORT_DESC="Control the key management system built into the Linux kernel"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://people.redhat.com/~dhowells/keyutils/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d"
13 TAGS="cryptography"
15 BUILD_DEPENDS="file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' Makefile
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/lib
29 cp -a $install/usr/share/keyutils $fs/usr/share
30 cp -a $install/etc $fs
31 cp -a $install/bin $fs
32 cp -a $install/sbin $fs
33 cp -a $install/lib/*.so* $fs/lib
34 }