wok-6.x view awstats-hotspot/receipt @ rev 18716
cups, cups-pam: remove duplicate files with libcups; misc. edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 17 05:25:15 2015 +0200 (2015-12-17) |
parents | d5f9f516b706 |
children | a6f7b6b890c2 |
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 DEPENDS="squid awstats"
10 WEB_SITE="http://www.slitaz.org/"
11 TAGS="log analyze"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin
17 cp $stuff/* $fs/usr/bin
18 }
20 post_install()
21 {
22 chroot "$1/" /usr/bin/loghotspot.sh --install
23 }
25 post_remove()
26 {
27 cd "$1/"
28 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f
29 cd - > /dev/null
30 }