wok annotate awstats-hotspot/receipt @ rev 13985
xdg-utils: up to 1.1.0-rc1 , xdg-open support LXDE too
author | ernia <monghitri@aruba.it> |
---|---|
date | Fri Feb 08 22:07:00 2013 +0000 (2013-02-08) |
parents | |
children | f4c22f009037 |
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@12973 | 8 DEPENDS="squid awstats" |
pascal@12973 | 9 WEB_SITE="http://www.slitaz.org/" |
pascal@12973 | 10 TAGS="log analyze" |
pascal@12973 | 11 |
pascal@12973 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 13 genpkg_rules() |
pascal@12973 | 14 { |
pascal@12973 | 15 mkdir -p $fs/usr/bin |
pascal@12973 | 16 cp $stuff/* $fs/usr/bin |
pascal@12973 | 17 } |
pascal@12973 | 18 |
pascal@12973 | 19 post_install() |
pascal@12973 | 20 { |
pascal@12973 | 21 chroot $1/ /usr/bin/loghotspot.sh --install |
pascal@12973 | 22 } |
pascal@12973 | 23 |
pascal@12973 | 24 post_remove() |
pascal@12973 | 25 { |
pascal@12973 | 26 grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f |
pascal@12973 | 27 } |