wok view tazwok/receipt @ rev 20218

Up tazlito (484)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:56:27 2018 +0100 (2018-02-25)
parents 0205fa89ab30
children 7e911016a644
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok"
4 VERSION="557"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz sources and binaries packages cooker."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2"
12 TAGS="slitaz"
14 DEPENDS="busybox slitaz-base-files"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
20 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
21 $fs/usr/lib/slitaz/chroot-scripts
22 # Copy Tazwok, doc and examples.
23 cp -a $src/tazwok $fs/usr/bin
24 chmod 755 $fs/usr/bin/tazwok
25 cp -a $src/doc/* $fs/usr/share/doc/tazwok
26 cp -a $src/applications $fs/usr/share
27 # Config file
28 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
29 cp -a $src/examples/config.site $fs/etc
30 # Webserver stuff
31 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
32 # Chroot scripts
33 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
34 # Build bot for tazwok
35 cp -a $src/examples/tazbb $fs/usr/bin
36 }