wok view busybox-pam/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
parents 2a66c0430085
children f5e71a92c2a8
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-pam"
4 VERSION="1.20.1"
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 # We install non-pam busybox to replace busybox-pam.
25 tazpkg get-install ${PACKAGE%-pam} --forced
27 # We remove /bin/busybox from the file.list of busybox-pam.
28 # This way, the non-pam busybox we just installed will not be
29 # removed.
30 sed '/\/bin\/busybox/d' \
31 -i /var/lib/tazpkg/installed/busybox-pam/files.list
32 }
34 post_install()
35 {
36 chmod 4755 $1/bin/busybox
37 }