wok view sarg/receipt @ rev 12096
Up: sarg (2.3.1) + improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 11 02:32:35 2012 +0100 (2012-03-11) |
parents | 083f2c3ff6c7 |
children | 14d8e207bf14 |
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
32 }