wok-6.x view tazwok/receipt @ rev 18884
Up backuppc (3.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 12 09:38:53 2016 +0100 (2016-02-12) |
parents | 2a21689b0af7 |
children | 0205fa89ab30 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok"
4 VERSION="4.2.18"
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 SUGGESTED="tazchroot"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2"
13 TAGS="slitaz"
15 DEPENDS="busybox slitaz-base-files"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
21 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
22 $fs/usr/lib/slitaz/chroot-scripts
23 # Copy Tazwok, doc and examples.
24 cp -a $src/tazwok $fs/usr/bin
25 chmod 755 $fs/usr/bin/tazwok
26 cp -a $src/doc/* $fs/usr/share/doc/tazwok
27 cp -a $src/applications $fs/usr/share
28 # Config file
29 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
30 cp -a $src/examples/config.site $fs/etc
31 # Webserver stuff
32 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
33 # Chroot scripts
34 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
35 # Build bot for tazwok
36 cp -a $src/examples/tazbb $fs/usr/bin
37 }