wok annotate keyutils/receipt @ rev 20636
Add ecryptfs-simple
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 09 13:01:27 2019 +0100 (2019-01-09) |
parents | |
children | e05759d971f8 |
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@20636 | 15 # Rules to configure and make the package. |
pascal@20636 | 16 compile_rules() |
pascal@20636 | 17 { |
pascal@20636 | 18 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' Makefile |
pascal@20636 | 19 make && |
pascal@20636 | 20 make DESTDIR=$DESTDIR install |
pascal@20636 | 21 } |
pascal@20636 | 22 |
pascal@20636 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20636 | 24 genpkg_rules() |
pascal@20636 | 25 { |
pascal@20636 | 26 mkdir -p $fs/usr/share $fs/lib |
pascal@20636 | 27 cp -a $install/usr/share/keyutils $fs/usr/share |
pascal@20636 | 28 cp -a $install/etc $fs |
pascal@20636 | 29 cp -a $install/bin $fs |
pascal@20636 | 30 cp -a $install/sbin $fs |
pascal@20636 | 31 cp -a $install/lib/*.so* $fs/lib |
pascal@20636 | 32 } |