wok-4.x view sarg/receipt @ rev 12210
syslinux: add md5sum.c32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 31 14:27:35 2012 +0200 (2012-03-31) |
parents | 012178e959df |
children |
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 }