wok-current view sarg/receipt @ rev 21859
updated sarg and sarg-php (2.3.1 -> 2.3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Sep 19 16:26:43 2019 +0100 (2019-09-19) |
parents | dd1920b0cc5d |
children | 352e1cee9466 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sarg"
4 VERSION="2.3.11"
5 CATEGORY="network"
6 SHORT_DESC="Squid Analysis Report Generator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/sarg/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --sysconfdir=/etc/sarg \
19 --bindir=/usr/bin \
20 --htmldir=/var/www \
21 --enable-fontdir=/usr/share/sarg/fonts \
22 --enable-imagedir=/usr/share/sarg/images \
23 --enable-sargphp=/var/www/sarg-php &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
33 #cp -a $install/var $fs
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/sarg $fs/usr/share
38 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
39 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
40 $fs/etc/sarg/sarg.conf
41 }