wok-6.x annotate awstats-hotspot/receipt @ rev 23388
updated perl-proc-processtable (0.45 -> 0.59)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:27:39 2020 +0100 (2020-03-31) |
parents | 0606c4356e47 |
children |
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/" |
al@19168 | 11 TAGS="log analysis" |
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 { |
al@18667 | 22 chroot "$1/" /usr/bin/loghotspot.sh --install |
pascal@12973 | 23 } |
pascal@12973 | 24 |
pascal@12973 | 25 post_remove() |
pascal@12973 | 26 { |
pascal@18670 | 27 cd "$1/" |
pascal@18670 | 28 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f |
pascal@18670 | 29 cd - > /dev/null |
pascal@12973 | 30 } |