wok-6.x annotate busybox-pam/receipt @ rev 13679

cryptopp: up 5.6.1
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Nov 27 09:57:29 2012 -0800 (2012-11-27)
parents 3bdd365a98b0
children 579492e43b93
rev   line source
pascal@2195 1 # SliTaz package receipt.
pascal@2195 2
pascal@2195 3 PACKAGE="busybox-pam"
pascal@13118 4 VERSION="1.20.2"
pascal@2195 5 CATEGORY="base-system"
pascal@2195 6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
pascal@2195 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@7277 8 DEPENDS="busybox pam"
pascal@7274 9 WANTED="busybox"
pascal@2195 10 WEB_SITE="http://www.busybox.net/"
pascal@7278 11 CONFIG_FILES="/etc/pam.d"
pascal@2195 12 PROVIDE="busybox:pam"
pascal@2195 13
pascal@2195 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2195 15 genpkg_rules()
pascal@2195 16 {
gokhlayeh@11446 17 mkdir -p $fs/bin
gokhlayeh@11446 18 cp -a $src/busybox-pam $fs/bin/busybox
gokhlayeh@11446 19 cp -a $stuff/* $fs
pascal@2195 20 }
pascal@7632 21
pascal@7632 22 pre_remove()
pascal@7632 23 {
gokhlayeh@11446 24 # We install non-pam busybox to replace busybox-pam.
gokhlayeh@11446 25 tazpkg get-install ${PACKAGE%-pam} --forced
gokhlayeh@11446 26
gokhlayeh@11446 27 # We remove /bin/busybox from the file.list of busybox-pam.
gokhlayeh@11446 28 # This way, the non-pam busybox we just installed will not be
gokhlayeh@11446 29 # removed.
gokhlayeh@11446 30 sed '/\/bin\/busybox/d' \
gokhlayeh@11446 31 -i /var/lib/tazpkg/installed/busybox-pam/files.list
pascal@7632 32 }
pascal@7755 33
pascal@7755 34 post_install()
pascal@7755 35 {
gokhlayeh@11446 36 chmod 4755 $1/bin/busybox
pascal@7755 37 }