wok-next view awstats-hotspot/receipt @ rev 21141

enchant 2.2.3; hunspell 1.7.0; libassuan 2.5.2; libwebp 1.0.2; tcc 0.9.27; tzdata 2018i
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 24 13:39:30 2019 +0200 (2019-01-24)
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 }