wok-6.x view tazbug-website/receipt @ rev 16768

Add retty
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 18 21:54:06 2014 +0200 (2014-06-18)
parents 62338265b5d4
children dd299a20bd7b
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 cp -a $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 }