wok rev 5488

Add wikiss
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 06 17:17:09 2010 +0200 (2010-05-06)
parents 826200f3fe61
children b1a88d2dfa5f
files wikiss/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wikiss/receipt	Thu May 06 17:17:09 2010 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wikiss"
     1.7 +VERSION="0.3"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Tiny Wiki Engine in french."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$VERSION.tgz"
    1.12 +WEB_SITE="http://wikiss.tuxfamily.org/"
    1.13 +WGET_URL="http://download.tuxfamily.org/$PACKAGE/${VERSION%.*}.x/$TARBALL"
    1.14 +DEPENDS="lighttpd php"
    1.15 +CONFIG_FILES="/var/www/wikiss/_config.php"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE $src 2> /dev/null
    1.21 +	cd $src
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/var/www
    1.28 +	cp -a $src $fs/var/www/wikiss
    1.29 +	rm -f $fs/var/www/wikiss/historique/*/*.bak
    1.30 +	chown -R www.www $fs/var/www/wikiss
    1.31 +}