wok annotate tazwok/receipt @ rev 18616

Up tazpkg(866)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 19 04:09:33 2015 +0200 (2015-11-19)
parents 2a21689b0af7
children 0205fa89ab30
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"
pascal@15363 8 LICENSE="BSD"
slaxemulator@9384 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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
pascal@17482 15 DEPENDS="busybox slitaz-base-files"
pascal@15363 16
pankso@10 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10 18 genpkg_rules()
pankso@10 19 {
pankso@8776 20 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
pankso@8776 21 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
pankso@8776 22 $fs/usr/lib/slitaz/chroot-scripts
pankso@10 23 # Copy Tazwok, doc and examples.
pankso@10 24 cp -a $src/tazwok $fs/usr/bin
pankso@10 25 chmod 755 $fs/usr/bin/tazwok
pankso@10 26 cp -a $src/doc/* $fs/usr/share/doc/tazwok
pankso@3839 27 cp -a $src/applications $fs/usr/share
pankso@10 28 # Config file
pankso@8776 29 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
pankso@8776 30 cp -a $src/examples/config.site $fs/etc
pankso@8776 31 # Webserver stuff
pankso@8776 32 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
pankso@8776 33 # Chroot scripts
pankso@8776 34 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
slaxemulator@9927 35 # Build bot for tazwok
slaxemulator@9927 36 cp -a $src/examples/tazbb $fs/usr/bin
pankso@10 37 }