wok-next diff blazekiss/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | dabffe4f6ce3 |
children | 36368059c1aa |
line diff
1.1 --- a/blazekiss/receipt Tue May 13 14:15:55 2014 +0000 1.2 +++ b/blazekiss/receipt Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -1,33 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="blazekiss" 1.8 GITHASH="d5349fb3e1a14bdf4a85273b29dd24653e2f3177" 1.9 VERSION=${GITHASH:0:7} 1.10 CATEGORY="office" 1.11 -SHORT_DESC="Tiny Wiki Engine in french." 1.12 +SHORT_DESC="Tiny Wiki Engine in French" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://projet.idleman.fr/blazekiss/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.zip" 1.18 -WEB_SITE="http://projet.idleman.fr/blazekiss/" 1.19 WGET_URL="https://github.com/ldleman/$PACKAGE/archive/$GITHASH.zip" 1.20 -CONFIG_FILES="/var/www/blazekiss/_config.php" 1.21 1.22 -DEPENDS="lighttpd php" 1.23 -BUILD_DEPENDS="wget" 1.24 - 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - true 1.29 +compile_rules() { 1.30 + index=$(find $src -name index.php) 1.31 + src=$(dirname $index) 1.32 + mkdir -p $install/var/www 1.33 + cp -a $src $install/var/www/blazekiss 1.34 + rm -f $install/var/www/blazekiss/historique/*/*.bak 1.35 + chown -R www.www $install/var/www/blazekiss 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - index=$(find $src -name index.php) 1.42 - src=$(dirname $index) 1.43 - mkdir -p $fs/var/www 1.44 - cp -a $src $fs/var/www/blazekiss 1.45 - rm -f $fs/var/www/blazekiss/historique/*/*.bak 1.46 - chown -R www.www $fs/var/www/blazekiss 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="lighttpd php" 1.50 + CONFIG_FILES="/var/www/blazekiss/_config.php" 1.51 }