wok-next view tazbug-website/receipt @ rev 13704
adding folder creations & perms
author | xfred222 |
---|---|
date | Mon Dec 17 08:42:01 2012 -0500 (2012-12-17) |
parents | 837a5d71872c |
children | ff80d60180b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazbug-website"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz Bug Tracker website"
7 MAINTAINER="fredericguilbault@live.ca"
8 WEB_SITE="http://bugs.slitaz.org"
9 TARBALL="tazbug-$VERSION.tar.gz"
10 WGET_URL="http://mirror.slitaz.org/sources/tazbug/$TARBALL"
12 DEPENDS="busybox gettext-base slitaz-base-files"
13 BUILD_DEPENDS="gettext"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mv $src/web/bugs.conf /etc/slitaz/bugs.conf
21 mkdir -pm0755 $fs/var/www/bugs
22 cp -a $src/web/* $fs/var/www/bugs/
23 cp $stuff/index.html $fs/var/www/bugs/
24 chown -R 80.80 $fs/var/www/bugs
26 mkdir -pm0755 $fs/var/lib/slitaz/auth/
27 touch $fs/var/lib/slitaz/auth/people
28 chmod 0600 $fs/var/lib/slitaz/auth/people
29 chown -R 80.80 $fs/var/lib/slitaz/auth/people
31 mkdir -pm0700 $fs/var/lib/slitaz/people/
32 chown -R 80.80 $fs/var/lib/slitaz/people/
33 }