wok rev 13693

receipt for local bug tracker installation
author xfred222
date Thu Dec 13 17:03:19 2012 -0500 (2012-12-13)
parents 87a217af01ea
children 5e52034511d0
files tazbug-website/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tazbug-website/receipt	Thu Dec 13 17:03:19 2012 -0500
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tazbug-website"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="SliTaz Bug Tracker website"
    1.10 +MAINTAINER="fredericguilbault@live.ca"
    1.11 +WEB_SITE="http://bugs.slitaz.org"
    1.12 +TARBALL="tazbug-$VERSION.tar.gz"
    1.13 +WGET_URL="http://mirror.slitaz.org/sources/tazbug/$TARBALL"
    1.14 +
    1.15 +DEPENDS="busybox gettext-base slitaz-base-files"
    1.16 +BUILD_DEPENDS="gettext"
    1.17 +
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -pm0755 $fs/var/www/bugs
    1.23 +	cp -a $src/web/* $fs/var/www/bugs/
    1.24 +	cp $stuff/index.html $fs/var/www/bugs/
    1.25 +	cp -a $src/tazbug.conf /etc/slitaz/bugs.conf
    1.26 +	chown -R 80.80 $fs/var/www/bugs
    1.27 +	}
    1.28 +
    1.29 +
    1.30 +pre_install()
    1.31 +{
    1.32 +	echo "Processing pre_install commands..."
    1.33 +}
    1.34 +
    1.35 +
    1.36 +post_install()
    1.37 +{
    1.38 +
    1.39 +}