wok annotate tazwok/receipt @ rev 9671

python-pyxml: apply archlinux #14782 bug fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:32:54 2011 +0200 (2011-05-02)
parents 4bbc340f068b
children cf670157f16f
rev   line source
pankso@10 1 # SliTaz package receipt.
pankso@10 2
pankso@10 3 PACKAGE="tazwok"
gokhlayeh@9526 4 VERSION="4.2.13"
pankso@210 5 CATEGORY="base-system"
pankso@10 6 SHORT_DESC="SliTaz sources and binaries packages cooker."
pankso@10 7 MAINTAINER="pankso@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@9384 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
pankso@10 33 }