wok-current view sarg/receipt @ rev 12563
Up wireshark (1.6.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 18:48:15 2012 +0200 (2012-04-28) |
parents | 012178e959df |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="sarg"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Squid Analysis Report Generator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 ./configure --sysconfdir=/etc/sarg \
16 --bindir=/usr/bin \
17 --enable-htmldir=/var/www \
18 --enable-fontdir=/usr/share/sarg/fonts \
19 --enable-imagedir=/usr/share/sarg/images \
20 --enable-sargphp=/var/www/sarg-php \
21 && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/usr/share
28 cp -a $install/var $fs
29 cp -a $install/etc $fs
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/sarg $fs/usr/share
33 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
34 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
35 $fs/etc/sarg/sarg.conf
36 }