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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a6f7b6b890c2
children 0cbe4b1f2230
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/"
11 genpkg_rules() {
12 mkdir -p $fs/usr/bin
13 cp $stuff/* $fs/usr/bin
14 DEPENDS="squid awstats"
15 TAGS="log analysis"
16 }
18 post_install() {
19 chroot "$1/" /usr/bin/loghotspot.sh --install
20 }
22 post_remove() {
23 cd "$1/"
24 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f
25 cd - > /dev/null
26 }