wok view sarg/receipt @ rev 12144

postgis: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 14 10:25:08 2012 +0100 (2012-03-14)
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 }