wok-next annotate awstats-hotspot/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
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 WEB_SITE="http://www.slitaz.org/" |
al@21057 | 10 HOST_ARCH="any" |
pascal@12973 | 11 |
al@21020 | 12 genpkg_rules() { |
pascal@12973 | 13 mkdir -p $fs/usr/bin |
pascal@12973 | 14 cp $stuff/* $fs/usr/bin |
al@21020 | 15 DEPENDS="squid awstats" |
al@21020 | 16 TAGS="log analysis" |
pascal@12973 | 17 } |
pascal@12973 | 18 |
al@21020 | 19 post_install() { |
al@18667 | 20 chroot "$1/" /usr/bin/loghotspot.sh --install |
pascal@12973 | 21 } |
pascal@12973 | 22 |
al@21020 | 23 post_remove() { |
pascal@18670 | 24 cd "$1/" |
pascal@18670 | 25 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f |
pascal@18670 | 26 cd - > /dev/null |
pascal@12973 | 27 } |