wok-current annotate busybox-pam/receipt @ rev 7632
*-pam: reinstall core package in pre_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 13 12:44:48 2010 +0100 (2010-12-13) |
parents | 1a1bfecb4881 |
children | 040555bd4620 |
rev | line source |
---|---|
pascal@2195 | 1 # SliTaz package receipt. |
pascal@2195 | 2 |
pascal@2195 | 3 PACKAGE="busybox-pam" |
slaxemulator@7361 | 4 VERSION="1.17.4" |
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 { |
pascal@7277 | 17 mkdir -p $fs/bin |
pascal@7274 | 18 cp -a $src/busybox-pam $fs/bin/busybox |
pascal@7274 | 19 cp -a stuff/* $fs |
pascal@2195 | 20 } |
pascal@7632 | 21 |
pascal@7632 | 22 pre_remove() |
pascal@7632 | 23 { |
pascal@7632 | 24 tazpkg get-install ${PACKAGE%-pam} |
pascal@7632 | 25 } |