wok-next view busybox-pam/receipt @ rev 19623

Fix some WANTED versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 08 15:54:59 2017 +0100 (2017-02-08)
parents f7d9f142f79d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-pam"
4 VERSION="1.26.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.busybox.net/"
10 CONFIG_FILES="/etc/pam.d"
11 PROVIDE="busybox:pam"
13 WANTED="busybox"
14 DEPENDS="busybox pam"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/bin
21 cp -a $src/busybox-pam $fs/bin/busybox
22 cp -a $stuff/* $fs
23 }
25 pre_remove()
26 {
27 # We install non-pam busybox to replace busybox-pam.
28 tazpkg get-install busybox --forced
30 # We remove /bin/busybox from the file.list of busybox-pam.
31 # This way, the non-pam busybox we just installed will not be
32 # removed.
33 sed '/\/bin\/busybox/d' \
34 -i /var/lib/tazpkg/installed/busybox-pam/files.list
35 }
37 post_install()
38 {
39 chmod 4755 "$1/bin/busybox"
40 }