wok-4.x view wikiss/receipt @ rev 9352

Fixed docbook-xml. This is based on the archlinux version. This will fixed gnome-doc-utils for good.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 19 21:06:33 2011 +0000 (2011-03-19)
parents 1a9d64df78f2
children 4cb7a59db958
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 TARBALL="$VERSION.tgz"
9 WEB_SITE="http://wikiss.tuxfamily.org/"
10 WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$TARBALL"
11 DEPENDS="lighttpd php"
12 CONFIG_FILES="/var/www/wikiss/_config.php"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $src 2> /dev/null
18 cd $src
19 sed -i -e 's/strpos(\$CONTENT/true || &/' \
20 -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
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/var/www
27 cp -a $src $fs/var/www/wikiss
28 rm -f $fs/var/www/wikiss/historique/*/*.bak
29 chown -R www.www $fs/var/www/wikiss
30 }