wok-current annotate 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 |
rev | line source |
---|---|
pascal@2285 | 1 # SliTaz package receipt. |
pascal@2285 | 2 |
pascal@2285 | 3 PACKAGE="sarg" |
erjo@12096 | 4 VERSION="2.3.1" |
pascal@2285 | 5 CATEGORY="network" |
pascal@2285 | 6 SHORT_DESC="Squid Analysis Report Generator." |
pascal@2285 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2285 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2285 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@2285 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2285 | 11 |
pascal@2285 | 12 # Rules to configure and make the package. |
pascal@2285 | 13 compile_rules() |
pascal@2285 | 14 { |
erjo@12096 | 15 ./configure --sysconfdir=/etc/sarg \ |
erjo@12096 | 16 --bindir=/usr/bin \ |
erjo@12096 | 17 --enable-htmldir=/var/www \ |
erjo@12096 | 18 --enable-fontdir=/usr/share/sarg/fonts \ |
erjo@12096 | 19 --enable-imagedir=/usr/share/sarg/images \ |
erjo@12096 | 20 --enable-sargphp=/var/www/sarg-php \ |
erjo@12096 | 21 && make && make install |
pascal@2285 | 22 } |
pascal@2285 | 23 |
pascal@2285 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2285 | 25 genpkg_rules() |
pascal@2285 | 26 { |
erjo@12096 | 27 mkdir -p $fs/usr $fs/usr/share |
erjo@12096 | 28 cp -a $install/var $fs |
erjo@12096 | 29 cp -a $install/etc $fs |
erjo@12096 | 30 cp -a $install/usr/bin $fs/usr |
erjo@12096 | 31 cp -a $install/usr/share/sarg $fs/usr/share |
pascal@2285 | 32 } |
pascal@2285 | 33 |