wok-6.x annotate tazbug-website/receipt @ rev 13808
Up 1.1 & Clean code
author | border |
---|---|
date | Sat Jan 05 17:59:28 2013 -0500 (2013-01-05) |
parents | 0af812d8e116 |
children | 277d344e7526 |
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" |
xfred222@13693 | 10 WGET_URL="http://mirror.slitaz.org/sources/tazbug/$TARBALL" |
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 |
border@13808 | 20 mkdir -pm0755 $fs/var/www/bugs |
border@13808 | 21 mkdir -pm0755 $fs/var/lib/slitaz/auth/ |
xfred222@13704 | 22 |
border@13808 | 23 #set prem & owner |
xfred222@13693 | 24 chown -R 80.80 $fs/var/www/bugs |
border@13808 | 25 chown -R 80.80 $fs/var/lib/slitaz/people/ |
border@13808 | 26 chmod 0700 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 27 chown -R 80.80 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 28 |
border@13808 | 29 #copy to package |
border@13808 | 30 touch $fs/var/lib/slitaz/auth/people |
border@13808 | 31 cp -a $src/web/* $fs/var/www/bugs/ |
border@13808 | 32 mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf |
xfred222@13695 | 33 } |