wok annotate tazbug-website/receipt @ rev 14985

Up: thunderbird-langpack-ru (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:15 2013 +0200 (2013-08-08)
parents 8198d0afa28b
children 2a21689b0af7
rev   line source
xfred222@13693 1 # SliTaz package receipt.
xfred222@13693 2
xfred222@13693 3 PACKAGE="tazbug-website"
border@13808 4 VERSION="1.1"
xfred222@13693 5 CATEGORY="misc"
xfred222@13693 6 SHORT_DESC="SliTaz Bug Tracker website"
xfred222@13693 7 MAINTAINER="fredericguilbault@live.ca"
xfred222@13693 8 WEB_SITE="http://bugs.slitaz.org"
xfred222@13693 9 TARBALL="tazbug-$VERSION.tar.gz"
border@13822 10 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz"
xfred222@13693 11
xfred222@13693 12 DEPENDS="busybox gettext-base slitaz-base-files"
xfred222@13693 13 BUILD_DEPENDS="gettext"
xfred222@13693 14
xfred222@13693 15
xfred222@13693 16 # Rules to gen a SliTaz package suitable for Tazpkg.
xfred222@13693 17 genpkg_rules()
xfred222@13693 18 {
border@13808 19 #create path
pascal@13818 20 mkdir -pm0755 $fs/etc/slitaz
border@13808 21 mkdir -pm0755 $fs/var/www/bugs
border@13808 22 mkdir -pm0755 $fs/var/lib/slitaz/auth/
pascal@13817 23 mkdir -pm0700 $fs/var/lib/slitaz/people/
pascal@13817 24
pascal@13817 25 #copy to package
pascal@13817 26 touch $fs/var/lib/slitaz/auth/people
pascal@13817 27 cp -a $src/web/* $fs/var/www/bugs/
pascal@13817 28 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
xfred222@13704 29
border@13808 30 #set prem & owner
xfred222@13693 31 chown -R 80.80 $fs/var/www/bugs
border@13808 32 chown -R 80.80 $fs/var/lib/slitaz/people/
border@13808 33 chmod 0700 $fs/var/lib/slitaz/auth/people
xfred222@13704 34 chown -R 80.80 $fs/var/lib/slitaz/auth/people
xfred222@13695 35 }