wok-next view awstats-hotspot/receipt @ rev 21608
updated dvtm (0.9 -> 0.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 09:49:25 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="awstats-hotspot"
4 VERSION="1.0"
5 CATEGORY="network"
6 SHORT_DESC="Squid Log file analyzer configuration"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.slitaz.org/"
10 HOST_ARCH="any"
12 genpkg_rules() {
13 mkdir -p $fs/usr/bin
14 cp $stuff/* $fs/usr/bin
15 DEPENDS="squid awstats"
16 TAGS="log analysis"
17 }
19 post_install() {
20 chroot "$1/" /usr/bin/loghotspot.sh --install
21 }
23 post_remove() {
24 cd "$1/"
25 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f
26 cd - > /dev/null
27 }