wok view awstats-hotspot/receipt @ rev 14646
Xorg. xorg-libXft: up 2.3.1; xorg-libXi: back to 1.7.1 (mirror's latest).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 03 11:07:41 2013 +0000 (2013-06-03) |
parents | |
children | f4c22f009037 |
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 DEPENDS="squid awstats"
9 WEB_SITE="http://www.slitaz.org/"
10 TAGS="log analyze"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/bin
16 cp $stuff/* $fs/usr/bin
17 }
19 post_install()
20 {
21 chroot $1/ /usr/bin/loghotspot.sh --install
22 }
24 post_remove()
25 {
26 grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f
27 }