wok view sarg/receipt @ rev 18940
Up musl-libc (1.1.14) CVE-2015-1817
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 11:58:42 2016 +0100 (2016-03-02) |
parents | 408c87fa22ca |
children | d310b6c488c0 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ./configure --sysconfdir=/etc/sarg \
17 --bindir=/usr/bin \
18 --enable-htmldir=/var/www \
19 --enable-fontdir=/usr/share/sarg/fonts \
20 --enable-imagedir=/usr/share/sarg/images \
21 --enable-sargphp=/var/www/sarg-php \
22 && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/share
29 #cp -a $install/var $fs
30 cp -a $install/etc $fs
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/sarg $fs/usr/share
34 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
35 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
36 $fs/etc/sarg/sarg.conf
37 }