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