wok annotate sarg-php/receipt @ rev 21776
linld: fix strdup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 12:50:44 2019 +0200 (2019-07-11) |
parents | 91ed8fa372e3 |
children | d310b6c488c0 |
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" |
pascal@15001 | 8 LICENSE="GPL2" |
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 |