wok-current view busybox-pam/receipt @ rev 10634

jdk6-*: fix receipt (if no files it must be a meta package)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 23:47:17 2011 +0200 (2011-05-26)
parents 6f9407bd4ad5
children 79d46277d7f9
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-pam"
4 VERSION="1.18.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="busybox pam"
9 WANTED="busybox"
10 WEB_SITE="http://www.busybox.net/"
11 CONFIG_FILES="/etc/pam.d"
12 PROVIDE="busybox:pam"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/bin
18 cp -a $src/busybox-pam $fs/bin/busybox
19 cp -a $stuff/* $fs
20 }
22 pre_remove()
23 {
24 tazpkg get-install ${PACKAGE%-pam}
25 }
27 post_install()
28 {
29 chmod 4755 $1/bin/busybox
30 }