wok-next view tazwok/receipt @ rev 8803
fix bdeps: crosstool-ng needs bison to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 00:22:44 2011 +0100 (2011-02-23) |
parents | cc498b7cba29 |
children | 140d47a938a9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok"
4 VERSION="4.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz sources and binaries packages cooker."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="busybox tazchroot libtaz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/tazwok/$TARBALL"
12 TAGS="slitaz"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
18 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
19 $fs/usr/lib/slitaz/chroot-scripts
20 # Copy Tazwok, doc and examples.
21 cp -a $src/tazwok $fs/usr/bin
22 chmod 755 $fs/usr/bin/tazwok
23 cp -a $src/doc/* $fs/usr/share/doc/tazwok
24 cp -a $src/applications $fs/usr/share
25 # Config file
26 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
27 cp -a $src/examples/config.site $fs/etc
28 # Webserver stuff
29 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
30 # Chroot scripts
31 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
32 }