wok-current view tazbug-website/receipt @ rev 15770

Up tazinst-gui (3.94)
author Dominique Corbex <domcox@slitaz.org>
date Tue Jan 07 21:52:00 2014 +0100 (2014-01-07)
parents 4dc7a5c23e3c
children 9ba8ad309532
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"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 #create path
21 mkdir -pm0755 $fs/etc/slitaz
22 mkdir -pm0755 $fs/var/www/bugs
23 mkdir -pm0755 $fs/var/lib/slitaz/auth/
24 mkdir -pm0700 $fs/var/lib/slitaz/people/
26 #copy to package
27 touch $fs/var/lib/slitaz/auth/people
28 cp -a $src/web/* $fs/var/www/bugs/
29 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
31 #set prem & owner
32 chown -R 80.80 $fs/var/www/bugs
33 chown -R 80.80 $fs/var/lib/slitaz/people/
34 chmod 0700 $fs/var/lib/slitaz/auth/people
35 chown -R 80.80 $fs/var/lib/slitaz/auth/people
36 }