wok view tazbug-website/receipt @ rev 16518

Up: tazbug (1.2) - Bunch of fixes and improvments
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 25 14:27:16 2014 +0200 (2014-04-25)
parents 9ba8ad309532
children 6a23dae0634b
line source
1 # SliTaz package receipt.
3 PACKAGE="tazbug-website"
4 VERSION="1.2"
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 }