wok-next annotate wikiss/receipt @ rev 21487

updated android-platform-tools (19.0.1 -> 30.0.0)
author Hans-G?nter Theisgen
date Thu Jun 18 16:12:44 2020 +0100 (2020-06-18)
parents c4e53a39395a
children
rev   line source
al@20503 1 # SliTaz package receipt v2.
pascal@5488 2
pascal@5488 3 PACKAGE="wikiss"
pascal@5488 4 VERSION="0.3"
pascal@5488 5 CATEGORY="office"
al@20503 6 SHORT_DESC="Tiny Wiki Engine in French"
pascal@5488 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@20503 9 WEB_SITE="http://wikiss.tuxfamily.org/"
al@20503 10
pascal@14355 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@14355 12 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz"
pascal@15001 13
al@20503 14 compile_rules() {
al@20503 15 mv $PACKAGE $src 2>/dev/null
pascal@5488 16 cd $src
pascal@5531 17 sed -i -e 's/strpos(\$CONTENT/true || &/' \
pascal@5531 18 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $CONTENT); // (y)\n&|' index.php
al@20503 19
al@20503 20 mkdir -p $install/var/www
al@20503 21 cp -a $src $install/var/www/wikiss
al@20503 22 rm -f $install/var/www/wikiss/historique/*/*.bak
al@20503 23 cp -a $stuff/* $install/var/www/wikiss/
al@20503 24 chown -R www.www $install/var/www/wikiss
pascal@5488 25 }
pascal@5488 26
al@20503 27 genpkg_rules() {
al@20503 28 copy @std
al@20503 29 DEPENDS="lighttpd php"
al@20503 30 CONFIG_FILES="/var/www/wikiss/_config.php"
pascal@5488 31 }