wok-next view tazbug-website/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | cd7906120828 |
children |
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="devel@slitaz.org"
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 BUILD_DEPENDS="gettext-dev"
16 SIBLINGS="tazbug"
18 # Use compile_rules with: make && make DESTDIR=$install install-server
20 genpkg_rules() {
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 DEPENDS="busybox gettext-base slitaz-base-files"
39 }