wok-next annotate tazwok/receipt @ rev 20698
tor: oh, I see there is DEPENDS below
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed May 23 15:22:22 2018 +0000 (2018-05-23) |
parents | 0205fa89ab30 |
children | cd7906120828 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazwok" |
pascal@19022 | 4 VERSION="557" |
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" |
al@19588 | 9 WEB_SITE="http://www.slitaz.org/" |
al@19588 | 10 TAGS="slitaz" |
al@19588 | 11 SUGGESTED="tazchroot" |
al@19588 | 12 |
slaxemulator@9384 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10727 | 14 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2" |
pankso@10 | 15 |
pascal@17482 | 16 DEPENDS="busybox slitaz-base-files" |
pascal@15363 | 17 |
pankso@10 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 19 genpkg_rules() |
pankso@10 | 20 { |
pankso@8776 | 21 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \ |
pankso@8776 | 22 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \ |
pankso@8776 | 23 $fs/usr/lib/slitaz/chroot-scripts |
pankso@10 | 24 # Copy Tazwok, doc and examples. |
pankso@10 | 25 cp -a $src/tazwok $fs/usr/bin |
pankso@10 | 26 chmod 755 $fs/usr/bin/tazwok |
pankso@10 | 27 cp -a $src/doc/* $fs/usr/share/doc/tazwok |
pankso@3839 | 28 cp -a $src/applications $fs/usr/share |
pankso@10 | 29 # Config file |
pankso@8776 | 30 cp -a $src/examples/tazwok.conf $fs/etc/slitaz |
pankso@8776 | 31 cp -a $src/examples/config.site $fs/etc |
pankso@8776 | 32 # Webserver stuff |
pankso@8776 | 33 cp -a $src/web/* $fs/usr/share/slitaz/web-bb |
pankso@8776 | 34 # Chroot scripts |
pankso@8776 | 35 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok |
slaxemulator@9927 | 36 # Build bot for tazwok |
slaxemulator@9927 | 37 cp -a $src/examples/tazbb $fs/usr/bin |
pankso@10 | 38 } |