wok-next diff wikiss/receipt @ rev 21079
emacs: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 14:46:21 2018 +0200 (2018-12-22) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/wikiss/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/wikiss/receipt Sat Dec 22 14:46:21 2018 +0200 1.3 @@ -1,33 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="wikiss" 1.8 VERSION="0.3" 1.9 CATEGORY="office" 1.10 -SHORT_DESC="Tiny Wiki Engine in french." 1.11 +SHORT_DESC="Tiny Wiki Engine in French" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://wikiss.tuxfamily.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tgz" 1.17 -WEB_SITE="http://wikiss.tuxfamily.org/" 1.18 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz" 1.19 -CONFIG_FILES="/var/www/wikiss/_config.php" 1.20 1.21 -DEPENDS="lighttpd php" 1.22 - 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mv $PACKAGE $src 2> /dev/null 1.27 +compile_rules() { 1.28 + mv $PACKAGE $src 2>/dev/null 1.29 cd $src 1.30 sed -i -e 's/strpos(\$CONTENT/true || &/' \ 1.31 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $CONTENT); // (y)\n&|' index.php 1.32 + 1.33 + mkdir -p $install/var/www 1.34 + cp -a $src $install/var/www/wikiss 1.35 + rm -f $install/var/www/wikiss/historique/*/*.bak 1.36 + cp -a $stuff/* $install/var/www/wikiss/ 1.37 + chown -R www.www $install/var/www/wikiss 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/var/www 1.44 - cp -a $src $fs/var/www/wikiss 1.45 - rm -f $fs/var/www/wikiss/historique/*/*.bak 1.46 - cp -a $stuff/* $fs/var/www/wikiss/ 1.47 - chown -R www.www $fs/var/www/wikiss 1.48 +genpkg_rules() { 1.49 + copy @std 1.50 + DEPENDS="lighttpd php" 1.51 + CONFIG_FILES="/var/www/wikiss/_config.php" 1.52 }