wok-next view tazbug-website/receipt @ rev 20671
qemu, qemu-light: define prefix
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:51:17 2018 +0300 (2018-05-11) |
parents | dd299a20bd7b |
children | cd7906120828 |
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/"
11 TARBALL="tazbug-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.bz2"
14 DEPENDS="busybox gettext-base slitaz-base-files"
15 BUILD_DEPENDS="gettext"
16 SIBLINGS="tazbug"
18 # Use compile_rules with: make && make DESTDIR=$DESTDIR install-server
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 #create path
24 mkdir -pm0755 $fs/etc/slitaz
25 mkdir -pm0755 $fs/var/www/bugs
26 mkdir -pm0755 $fs/var/lib/slitaz/auth/
27 mkdir -pm0700 $fs/var/lib/slitaz/people/
29 #copy to package
30 touch $fs/var/lib/slitaz/auth/people
31 cp -a $src/web/* $fs/var/www/bugs/
32 cp -a $src/bugs.conf $fs/etc/slitaz
33 #mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
35 #set prem & owner
36 chown -R 80.80 $fs/var/www/bugs
37 chown -R 80.80 $fs/var/lib/slitaz/people/
38 chmod 0700 $fs/var/lib/slitaz/auth/people
39 chown -R 80.80 $fs/var/lib/slitaz/auth/people
40 }