wok-stable view slitaz-hacker-wiki/receipt @ rev 370
Slitaz-loram*: more flexible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 11:30:12 2008 +0000 (2008-03-08) |
parents | |
children | d4fdf52f1ca3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-hacker-wiki"
4 VERSION="1.0"
5 CATEGORY="office"
6 SHORT_DESC="SliTaz user hacker personnal PHP Wiki Engine."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-hacker lighttpd php"
9 WEB_SITE="http://wikiss.tuxfamily.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/home/hacker/Public
15 cp -a stuff/hacker $fs/home
16 tar xzf stuff/wikiss.tar.gz -C $fs/home/hacker/Public
17 # Change permissions.
18 echo -n "Chmodig all files in $fs/home/hacker..."
19 chmod 0777 $fs/home/hacker/Public/wikiss
20 chmod 0777 $fs/home/hacker/Public/wikiss/historique
21 chmod 0777 $fs/home/hacker/Public/wikiss/pages
22 chmod 0777 $fs/home/hacker/Public/wikiss/plugins
23 chown -R 500.500 $fs/home/hacker/Public
24 status
25 }