wok-next view awstats-hotspot/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }