wok view wikiss/receipt @ rev 16035

ARM: some more Xorg packages needed to build xorg-server-light
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 03:09:11 2014 +0100 (2014-03-09)
parents 99b42fdb85c9
children d51b2411e55e
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"
14 DEPENDS="lighttpd php"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv $PACKAGE $src 2> /dev/null
20 cd $src
21 sed -i -e 's/strpos(\$CONTENT/true || &/' \
22 -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\&euro;", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\&yen;", $CONTENT); // (y)\n&|' index.php
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/var/www
29 cp -a $src $fs/var/www/wikiss
30 rm -f $fs/var/www/wikiss/historique/*/*.bak
31 cp -a $stuff/* $fs/var/www/wikiss/
32 chown -R www.www $fs/var/www/wikiss
33 }