wok-next view wikiss/receipt @ rev 21022
Combine rox-filer
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 04:01:01 2018 +0200 (2018-11-03) |
parents | c4e53a39395a |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wikiss"
4 VERSION="0.3"
5 CATEGORY="office"
6 SHORT_DESC="Tiny Wiki Engine in French"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wikiss.tuxfamily.org/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz"
14 compile_rules() {
15 mv $PACKAGE $src 2>/dev/null
16 cd $src
17 sed -i -e 's/strpos(\$CONTENT/true || &/' \
18 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $CONTENT); // (y)\n&|' index.php
20 mkdir -p $install/var/www
21 cp -a $src $install/var/www/wikiss
22 rm -f $install/var/www/wikiss/historique/*/*.bak
23 cp -a $stuff/* $install/var/www/wikiss/
24 chown -R www.www $install/var/www/wikiss
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="lighttpd php"
30 CONFIG_FILES="/var/www/wikiss/_config.php"
31 }