wok-6.x view tazbug-website/receipt @ rev 15878
tinc: fix config path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 05 10:25:27 2014 +0000 (2014-02-05) |
parents | 2a21689b0af7 |
children | 62338265b5d4 |
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 LICENSE="BSD"
9 WEB_SITE="http://bugs.slitaz.org"
10 TARBALL="tazbug-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz"
13 DEPENDS="busybox gettext-base slitaz-base-files"
14 BUILD_DEPENDS="gettext"
16 # Use compile_rules with: make && make DESTDIR=$DESTDIR install-server
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 #create path
22 mkdir -pm0755 $fs/etc/slitaz
23 mkdir -pm0755 $fs/var/www/bugs
24 mkdir -pm0755 $fs/var/lib/slitaz/auth/
25 mkdir -pm0700 $fs/var/lib/slitaz/people/
27 #copy to package
28 touch $fs/var/lib/slitaz/auth/people
29 cp -a $src/web/* $fs/var/www/bugs/
30 # 1.2: cp $src/bugs.conf $fs/etc/slitaz
31 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
33 #set prem & owner
34 chown -R 80.80 $fs/var/www/bugs
35 chown -R 80.80 $fs/var/lib/slitaz/people/
36 chmod 0700 $fs/var/lib/slitaz/auth/people
37 chown -R 80.80 $fs/var/lib/slitaz/auth/people
38 }