wok diff awstats-hotspot/receipt @ rev 14614
Up: php to 5.4.13.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 06:40:14 2013 +0000 (2013-06-01) |
parents | |
children | f4c22f009037 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/awstats-hotspot/receipt Sat Jun 01 06:40:14 2013 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="awstats-hotspot" 1.7 +VERSION="1.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Squid Log file analyzer configuration" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +DEPENDS="squid awstats" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 +TAGS="log analyze" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin 1.19 + cp $stuff/* $fs/usr/bin 1.20 +} 1.21 + 1.22 +post_install() 1.23 +{ 1.24 + chroot $1/ /usr/bin/loghotspot.sh --install 1.25 +} 1.26 + 1.27 +post_remove() 1.28 +{ 1.29 + grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f 1.30 +}