wok-6.x view tazbug-website/receipt @ rev 14593
Add antinat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 27 12:17:25 2013 +0200 (2013-05-27) |
parents | 8198d0afa28b |
children | 2a21689b0af7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazbug-website"
4 VERSION="1.1"
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://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz"
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 #create path
20 mkdir -pm0755 $fs/etc/slitaz
21 mkdir -pm0755 $fs/var/www/bugs
22 mkdir -pm0755 $fs/var/lib/slitaz/auth/
23 mkdir -pm0700 $fs/var/lib/slitaz/people/
25 #copy to package
26 touch $fs/var/lib/slitaz/auth/people
27 cp -a $src/web/* $fs/var/www/bugs/
28 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
30 #set prem & owner
31 chown -R 80.80 $fs/var/www/bugs
32 chown -R 80.80 $fs/var/lib/slitaz/people/
33 chmod 0700 $fs/var/lib/slitaz/auth/people
34 chown -R 80.80 $fs/var/lib/slitaz/auth/people
35 }