wok view tazbug-website/receipt @ rev 19635

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents d5add2d69322
children d57d733bbb57
line source
1 # SliTaz package receipt.
3 PACKAGE="tazbug-website"
4 VERSION="95"
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"
15 SIBLINGS="tazbug"
17 # Use compile_rules with: make && make DESTDIR=$DESTDIR install-server
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 #create path
23 mkdir -pm0755 $fs/etc/slitaz
24 mkdir -pm0755 $fs/var/www/bugs
25 mkdir -pm0755 $fs/var/lib/slitaz/auth/
26 mkdir -pm0700 $fs/var/lib/slitaz/people/
28 #copy to package
29 touch $fs/var/lib/slitaz/auth/people
30 cp -a $src/web/* $fs/var/www/bugs/
31 cp -a $src/bugs.conf $fs/etc/slitaz
32 #mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
34 #set prem & owner
35 chown -R 80.80 $fs/var/www/bugs
36 chown -R 80.80 $fs/var/lib/slitaz/people/
37 chmod 0700 $fs/var/lib/slitaz/auth/people
38 chown -R 80.80 $fs/var/lib/slitaz/auth/people
39 }