wok-current view tazwok-experimental/receipt @ rev 8002

Fixed libtaz, tazchroot, and tazwok-experimental again.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 18 12:47:44 2011 +0000 (2011-01-18)
parents 32cd9732fa86
children d0c6a2d1c542
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok-experimental"
4 VERSION="0.0.2"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz sources and binaries packages cooker."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="busybox libtaz"
9 SUGGESTED="tazchroot"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 #WGET_URL="http://mirror.slitaz.org/sources/base-files/$TARBALL"
13 # using an hg URL because tarball is not avaible at this moment
14 WGET="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
15 CONFIG_FILES="/etc/slitaz/tazwok.conf"
16 TAGS="slitaz"
18 compile_rules()
19 {
20 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
21 tar xzf $SOURCES_REPOSITORY/$TARBALL
22 else
23 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
24 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
25 tar xzf $SOURCES_REPOSITORY/$TARBALL
26 fi
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
33 $fs/etc/slitaz
34 # Copy Tazwok, doc and examples.
35 cp -a $src/tazwok $fs/usr/bin
36 chmod 755 $fs/usr/bin/tazwok
37 cp -a $src/doc/* $fs/usr/share/doc/tazwok
38 cp -a $src/applications $fs/usr/share
39 # Config file
40 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
41 cp -a $src/examples/config.site $fs/etc
42 }
44 TAZBB_NO_INSTALL="Not ready to be used on tank yet."