wok-next view tazbug-website/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 266eb7ab8b5a |
children | d5aab818505e |
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 REPOLOGY="-"
12 TARBALL="tazbug-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.bz2"
15 DEPENDS="busybox gettext-base slitaz-base-files"
16 BUILD_DEPENDS="gettext"
17 SIBLINGS="tazbug"
19 # Use compile_rules with: make && make DESTDIR=$DESTDIR install-server
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 #create path
25 mkdir -pm0755 $fs/etc/slitaz
26 mkdir -pm0755 $fs/var/www/bugs
27 mkdir -pm0755 $fs/var/lib/slitaz/auth/
28 mkdir -pm0700 $fs/var/lib/slitaz/people/
30 #copy to package
31 touch $fs/var/lib/slitaz/auth/people
32 cp -a $src/web/* $fs/var/www/bugs/
33 cp -a $src/bugs.conf $fs/etc/slitaz
34 #mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
36 #set prem & owner
37 chown -R 80.80 $fs/var/www/bugs
38 chown -R 80.80 $fs/var/lib/slitaz/people/
39 chmod 0700 $fs/var/lib/slitaz/auth/people
40 chown -R 80.80 $fs/var/lib/slitaz/auth/people
41 }