wok-6.x annotate tazbug-website/receipt @ rev 19650
Up cookutils (868)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 22 16:21:20 2017 +0200 (2017-01-22) |
parents | d5add2d69322 |
children | d57d733bbb57 |
rev | line source |
---|---|
xfred222@13693 | 1 # SliTaz package receipt. |
xfred222@13693 | 2 |
xfred222@13693 | 3 PACKAGE="tazbug-website" |
al@19635 | 4 VERSION="95" |
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" |
al@19617 | 15 SIBLINGS="tazbug" |
xfred222@13693 | 16 |
pankso@15773 | 17 # Use compile_rules with: make && make DESTDIR=$DESTDIR install-server |
xfred222@13693 | 18 |
xfred222@13693 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
xfred222@13693 | 20 genpkg_rules() |
xfred222@13693 | 21 { |
border@13808 | 22 #create path |
pascal@13818 | 23 mkdir -pm0755 $fs/etc/slitaz |
border@13808 | 24 mkdir -pm0755 $fs/var/www/bugs |
border@13808 | 25 mkdir -pm0755 $fs/var/lib/slitaz/auth/ |
pascal@13817 | 26 mkdir -pm0700 $fs/var/lib/slitaz/people/ |
pascal@13817 | 27 |
pascal@13817 | 28 #copy to package |
pascal@13817 | 29 touch $fs/var/lib/slitaz/auth/people |
pascal@13817 | 30 cp -a $src/web/* $fs/var/www/bugs/ |
al@16545 | 31 cp -a $src/bugs.conf $fs/etc/slitaz |
al@16545 | 32 #mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf |
xfred222@13704 | 33 |
border@13808 | 34 #set prem & owner |
xfred222@13693 | 35 chown -R 80.80 $fs/var/www/bugs |
border@13808 | 36 chown -R 80.80 $fs/var/lib/slitaz/people/ |
border@13808 | 37 chmod 0700 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 38 chown -R 80.80 $fs/var/lib/slitaz/auth/people |
xfred222@13695 | 39 } |