wok-next annotate awstats-hotspot/receipt @ rev 18669
Add xmgrace (5.1.25)
author | llev |
---|---|
date | Fri Dec 04 21:09:27 2015 +0100 (2015-12-04) |
parents | f4c22f009037 |
children | 0606c4356e47 |
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 { |
al@18667 | 22 chroot "$1/" /usr/bin/loghotspot.sh --install |
pascal@12973 | 23 } |
pascal@12973 | 24 |
pascal@12973 | 25 post_remove() |
pascal@12973 | 26 { |
al@18667 | 27 # FIXME root |
pascal@12973 | 28 grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f |
pascal@12973 | 29 } |