wok-current view wikiss/receipt @ rev 21214
updated scim-pinyin again (0.5.91 -> 0.5.92)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 09 17:20:03 2019 +0100 (2019-04-09) |
parents | 408c87fa22ca |
children | 3e2a0347b2f1 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://wikiss.tuxfamily.org/"
11 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$VERSION.tgz"
12 CONFIG_FILES="/var/www/wikiss/_config.php"
13 HOST_ARCH="any"
15 DEPENDS="lighttpd php"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv $PACKAGE $src 2> /dev/null
21 cd $src
22 sed -i -e 's/strpos(\$CONTENT/true || &/' \
23 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $CONTENT); // (y)\n&|' index.php
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/var/www
30 cp -a $src $fs/var/www/wikiss
31 rm -f $fs/var/www/wikiss/historique/*/*.bak
32 cp -a $stuff/* $fs/var/www/wikiss/
33 chown -R www.www $fs/var/www/wikiss
34 }