wok-current view wikiss/receipt @ rev 15001
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:48:05 2013 +0000 (2013-08-10) |
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", "\€", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\¥", $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 }