wok view wikiss/receipt @ rev 10799
Fix: get-opera: fetching beta releases fails completely since names are 'opera-next', so use non-Next releases
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sat Jun 04 11:21:13 2011 +0100 (2011-06-04) |
parents | 0f28e0b1beea |
children | 99b42fdb85c9 |
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", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $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 cp -a $stuff/* $fs/var/www/wikiss/
30 chown -R www.www $fs/var/www/wikiss
31 }