wok-6.x annotate awstats-hotspot/receipt @ rev 16253
nettle, vte: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 04 07:39:36 2014 +0000 (2014-04-04) |
parents | b994d2c0f802 |
children | d5f9f516b706 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="awstats-hotspot" |
pascal@12973 | 4 VERSION="1.0" |
pascal@12973 | 5 CATEGORY="network" |
pascal@12973 | 6 SHORT_DESC="Squid Log file analyzer configuration" |
pascal@12973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
pascal@12973 | 9 DEPENDS="squid awstats" |
pascal@12973 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@12973 | 11 TAGS="log analyze" |
pascal@12973 | 12 |
pascal@12973 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 14 genpkg_rules() |
pascal@12973 | 15 { |
pascal@12973 | 16 mkdir -p $fs/usr/bin |
pascal@12973 | 17 cp $stuff/* $fs/usr/bin |
pascal@12973 | 18 } |
pascal@12973 | 19 |
pascal@12973 | 20 post_install() |
pascal@12973 | 21 { |
pascal@12973 | 22 chroot $1/ /usr/bin/loghotspot.sh --install |
pascal@12973 | 23 } |
pascal@12973 | 24 |
pascal@12973 | 25 post_remove() |
pascal@12973 | 26 { |
pascal@12973 | 27 grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f |
pascal@12973 | 28 } |