wok view sarg/receipt @ rev 14824
Up: xfce4-panel* (4.10.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:51:16 2013 +0200 (2013-07-17) |
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 }