wok-current annotate slitaz-hacker-wiki/receipt @ rev 836

Up: gtk+ (2.12.9)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 18 13:37:54 2008 +0200 (2008-05-18)
parents d0b3c00d4102
children
rev   line source
pankso@318 1 # SliTaz package receipt.
pankso@318 2
pankso@318 3 PACKAGE="slitaz-hacker-wiki"
pankso@392 4 VERSION="1.1"
pankso@318 5 CATEGORY="office"
pankso@318 6 SHORT_DESC="SliTaz user hacker personnal PHP Wiki Engine."
pankso@318 7 MAINTAINER="pankso@slitaz.org"
pankso@318 8 DEPENDS="slitaz-hacker lighttpd php"
pankso@318 9 WEB_SITE="http://wikiss.tuxfamily.org/"
pankso@318 10
pankso@318 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@318 12 genpkg_rules()
pankso@318 13 {
pankso@318 14 mkdir -p $fs/home/hacker/Public
pankso@318 15 cp -a stuff/hacker $fs/home
pankso@318 16 tar xzf stuff/wikiss.tar.gz -C $fs/home/hacker/Public
pankso@318 17 # Change permissions.
pankso@318 18 echo -n "Chmodig all files in $fs/home/hacker..."
pankso@318 19 chmod 0777 $fs/home/hacker/Public/wikiss
pankso@318 20 chmod 0777 $fs/home/hacker/Public/wikiss/historique
pankso@318 21 chmod 0777 $fs/home/hacker/Public/wikiss/pages
pankso@318 22 chmod 0777 $fs/home/hacker/Public/wikiss/plugins
pankso@318 23 chown -R 500.500 $fs/home/hacker/Public
pankso@318 24 status
pankso@318 25 }