wok-6.x view tazwok/receipt @ rev 14329
Up: connman (1.12)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:56:50 2013 +0200 (2013-04-12) |
parents | a5abb03b5817 |
children | 2a21689b0af7 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="busybox libtaz"
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 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
19 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
20 $fs/usr/lib/slitaz/chroot-scripts
21 # Copy Tazwok, doc and examples.
22 cp -a $src/tazwok $fs/usr/bin
23 chmod 755 $fs/usr/bin/tazwok
24 cp -a $src/doc/* $fs/usr/share/doc/tazwok
25 cp -a $src/applications $fs/usr/share
26 # Config file
27 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
28 cp -a $src/examples/config.site $fs/etc
29 # Webserver stuff
30 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
31 # Chroot scripts
32 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
33 # Build bot for tazwok
34 cp -a $src/examples/tazbb $fs/usr/bin
35 }