wok-next view tazwok/receipt @ rev 20279
samba: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 12:57:30 2017 +0100 (2017-11-08) |
parents | 0205fa89ab30 |
children | cd7906120828 |
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 WEB_SITE="http://www.slitaz.org/"
10 TAGS="slitaz"
11 SUGGESTED="tazchroot"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2"
16 DEPENDS="busybox slitaz-base-files"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
22 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
23 $fs/usr/lib/slitaz/chroot-scripts
24 # Copy Tazwok, doc and examples.
25 cp -a $src/tazwok $fs/usr/bin
26 chmod 755 $fs/usr/bin/tazwok
27 cp -a $src/doc/* $fs/usr/share/doc/tazwok
28 cp -a $src/applications $fs/usr/share
29 # Config file
30 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
31 cp -a $src/examples/config.site $fs/etc
32 # Webserver stuff
33 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
34 # Chroot scripts
35 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
36 # Build bot for tazwok
37 cp -a $src/examples/tazbb $fs/usr/bin
38 }