wok annotate sarg-php/receipt @ rev 12099

sarg-php: Fix perm
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 11 02:56:40 2012 +0100 (2012-03-11)
parents 8eca57f89147
children 91ed8fa372e3
rev   line source
erjo@12097 1 # SliTaz package receipt.
erjo@12097 2
erjo@12097 3 PACKAGE="sarg-php"
erjo@12097 4 VERSION="2.3.1"
erjo@12097 5 CATEGORY="network"
erjo@12097 6 SHORT_DESC="Squid Analysis Report Generator."
erjo@12097 7 MAINTAINER="erjo@slitaz.org"
erjo@12097 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@12097 9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
erjo@12097 10 WANTED="sarg"
erjo@12097 11
erjo@12097 12 DEPENDS="lighttpd php"
erjo@12097 13
erjo@12097 14 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@12097 15 genpkg_rules()
erjo@12097 16 {
erjo@12097 17 mkdir -p $fs/var/www
erjo@12097 18
erjo@12097 19 cp -pa $src/sarg-php $fs/var/www
erjo@12099 20 # Fix perms
erjo@12099 21 chmod 755 $fs/var/www/sarg-php
erjo@12099 22 chmod 644 -R $fs/var/www/sarg-php/*
erjo@12099 23 chmod 755 $fs/var/www/sarg-php/locale
erjo@12099 24
erjo@12097 25 }
erjo@12097 26