wok-current annotate tazbug-website/receipt @ rev 15363
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 03 09:52:57 2013 +0000 (2013-10-03) |
parents | 4dc7a5c23e3c |
children | 9ba8ad309532 |
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" |
pascal@15363 | 8 LICENSE="BSD" |
xfred222@13693 | 9 WEB_SITE="http://bugs.slitaz.org" |
xfred222@13693 | 10 TARBALL="tazbug-$VERSION.tar.gz" |
border@13822 | 11 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz" |
xfred222@13693 | 12 |
xfred222@13693 | 13 DEPENDS="busybox gettext-base slitaz-base-files" |
xfred222@13693 | 14 BUILD_DEPENDS="gettext" |
xfred222@13693 | 15 |
xfred222@13693 | 16 |
xfred222@13693 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
xfred222@13693 | 18 genpkg_rules() |
xfred222@13693 | 19 { |
border@13808 | 20 #create path |
pascal@13818 | 21 mkdir -pm0755 $fs/etc/slitaz |
border@13808 | 22 mkdir -pm0755 $fs/var/www/bugs |
border@13808 | 23 mkdir -pm0755 $fs/var/lib/slitaz/auth/ |
pascal@13817 | 24 mkdir -pm0700 $fs/var/lib/slitaz/people/ |
pascal@13817 | 25 |
pascal@13817 | 26 #copy to package |
pascal@13817 | 27 touch $fs/var/lib/slitaz/auth/people |
pascal@13817 | 28 cp -a $src/web/* $fs/var/www/bugs/ |
pascal@13817 | 29 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf |
xfred222@13704 | 30 |
border@13808 | 31 #set prem & owner |
xfred222@13693 | 32 chown -R 80.80 $fs/var/www/bugs |
border@13808 | 33 chown -R 80.80 $fs/var/lib/slitaz/people/ |
border@13808 | 34 chmod 0700 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 35 chown -R 80.80 $fs/var/lib/slitaz/auth/people |
xfred222@13695 | 36 } |