wok annotate tazwok/receipt @ rev 13521

Up task (2.1.2)
author Paul Issott <paul@slitaz.org>
date Fri Oct 19 19:53:45 2012 +0100 (2012-10-19)
parents a5abb03b5817
children 2a21689b0af7
rev   line source
pankso@10 1 # SliTaz package receipt.
pankso@10 2
pankso@10 3 PACKAGE="tazwok"
gokhlayeh@11381 4 VERSION="4.2.18"
pankso@210 5 CATEGORY="base-system"
pankso@10 6 SHORT_DESC="SliTaz sources and binaries packages cooker."
gokhlayeh@11342 7 MAINTAINER="gokhlayeh@slitaz.org"
slaxemulator@9384 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@8820 9 DEPENDS="busybox libtaz"
gokhlayeh@8824 10 SUGGESTED="tazchroot"
pankso@10 11 WEB_SITE="http://www.slitaz.org/"
slaxemulator@10727 12 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2"
jozee@4973 13 TAGS="slitaz"
pankso@10 14
pankso@10 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10 16 genpkg_rules()
pankso@10 17 {
pankso@8776 18 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
pankso@8776 19 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
pankso@8776 20 $fs/usr/lib/slitaz/chroot-scripts
pankso@10 21 # Copy Tazwok, doc and examples.
pankso@10 22 cp -a $src/tazwok $fs/usr/bin
pankso@10 23 chmod 755 $fs/usr/bin/tazwok
pankso@10 24 cp -a $src/doc/* $fs/usr/share/doc/tazwok
pankso@3839 25 cp -a $src/applications $fs/usr/share
pankso@10 26 # Config file
pankso@8776 27 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
pankso@8776 28 cp -a $src/examples/config.site $fs/etc
pankso@8776 29 # Webserver stuff
pankso@8776 30 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
pankso@8776 31 # Chroot scripts
pankso@8776 32 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
slaxemulator@9927 33 # Build bot for tazwok
slaxemulator@9927 34 cp -a $src/examples/tazbb $fs/usr/bin
pankso@10 35 }