wok-stable view busybox-pam/receipt @ rev 8695

improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:04:20 2011 +0100 (2011-02-17)
parents 1867cba0ced3
children 6f9407bd4ad5
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-pam"
4 VERSION="1.18.3"
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 }