wok view sarg/receipt @ rev 23471
updated python-cheetah (2.4.3 -> 2.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 14:34:55 2020 +0100 (2020-04-05) |
parents | d310b6c488c0 |
children | 64d159b437a1 |
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 sed -i 's/@mkdir_p@/mkdir -p/' po/Makefile*
18 ./configure \
19 --sysconfdir=/etc/sarg \
20 --bindir=/usr/bin \
21 --htmldir=/var/www \
22 --enable-fontdir=/usr/share/sarg/fonts \
23 --enable-imagedir=/usr/share/sarg/images \
24 --enable-sargphp=/var/www/sarg-php &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 #cp -a $install/var $fs
35 cp -a $install/etc $fs
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/sarg $fs/usr/share
39 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
40 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
41 $fs/etc/sarg/sarg.conf
42 }