wok-6.x diff tazbug-website/receipt @ rev 19958
slim-theme: disable pngquant (thanks Ceel for report)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 19 05:31:35 2017 +0300 (2017-05-19) |
parents | faf865f8822c |
children | ab43b9f8e081 |
line diff
1.1 --- a/tazbug-website/receipt Tue Jan 17 17:38:43 2017 +0200 1.2 +++ b/tazbug-website/receipt Fri May 19 05:31:35 2017 +0300 1.3 @@ -1,39 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazbug-website" 1.7 -VERSION="95" 1.8 +VERSION="2.0" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="SliTaz Bug Tracker website" 1.11 +SHORT_DESC="SliTaz Bug Tracker web interface" 1.12 MAINTAINER="fredericguilbault@live.ca" 1.13 LICENSE="BSD" 1.14 WEB_SITE="http://bugs.slitaz.org" 1.15 -TARBALL="tazbug-$VERSION.tar.gz" 1.16 -WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz" 1.17 +WANTED="tazbug" 1.18 1.19 DEPENDS="busybox gettext-base slitaz-base-files" 1.20 BUILD_DEPENDS="gettext" 1.21 SIBLINGS="tazbug" 1.22 1.23 -# Use compile_rules with: make && make DESTDIR=$DESTDIR install-server 1.24 +# Use compile_rules with: make && make DESTDIR=$DESTDIR install-web 1.25 +compile_rules() 1.26 +{ 1.27 + make && make install-web 1.28 +} 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - #create path 1.34 - mkdir -pm0755 $fs/etc/slitaz 1.35 - mkdir -pm0755 $fs/var/www/bugs 1.36 - mkdir -pm0755 $fs/var/lib/slitaz/auth/ 1.37 - mkdir -pm0700 $fs/var/lib/slitaz/people/ 1.38 - 1.39 - #copy to package 1.40 - touch $fs/var/lib/slitaz/auth/people 1.41 - cp -a $src/web/* $fs/var/www/bugs/ 1.42 - cp -a $src/bugs.conf $fs/etc/slitaz 1.43 - #mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf 1.44 - 1.45 - #set prem & owner 1.46 - chown -R 80.80 $fs/var/www/bugs 1.47 - chown -R 80.80 $fs/var/lib/slitaz/people/ 1.48 - chmod 0700 $fs/var/lib/slitaz/auth/people 1.49 - chown -R 80.80 $fs/var/lib/slitaz/auth/people 1.50 + cp -a ${WOK}/${pkg}/install/* ${fs} 1.51 + # Will run without tweaking configs in cgi-bin/ 1.52 + mkdir -p ${fs}/var/www/cgi-bin 1.53 + mv ${fs}/var/www/bugs ${fs}/var/www/cgi-bin 1.54 }