wok-current view tazwok-experimental/receipt @ rev 8668
Up: tazwok-experimental 0.0.6.4
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 16 22:59:02 2011 +0100 (2011-02-16) |
parents | f79f77d348c0 |
children | 3382708bcd14 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok-experimental"
4 VERSION="0.0.6.4"
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 # Use bitbucket until tank is back.
13 #WGET_URL="http://mirror.slitaz.org/sources/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="wget"
15 WGET_URL="https://bitbucket.org/gokhlayeh/$PACKAGE/get/$VERSION.tar.bz2"
16 CONFIG_FILES="/etc/slitaz/tazwok.conf"
17 PROVIDE="tazwok"
18 TAGS="slitaz"
20 compile_rules()
21 {
22 :
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
29 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb
30 # Copy Tazwok, doc and examples.
31 cp -a $src/tazwok $fs/usr/bin
32 cp -a $src/update-repository $fs/usr/bin
33 chmod 755 $fs/usr/bin/tazwok
34 cp -a $src/doc/* $fs/usr/share/doc/tazwok
35 cp -a $src/applications $fs/usr/share
36 # Config file
37 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
38 cp -a $src/examples/config.site $fs/etc
39 # Webserver stuff
40 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
41 }
43 post_install()
44 {
45 echo -e "\\033[1;31mWARNING WARNING WARGNING
46 You should run update-repository on all repositories you used with
47 tazwok-experimental until there.This script change sources names, generate sources.list and modify
48 logs to make you're repository consistent with last changes.
50 Usage is:
51 update-repository LOCAL_REPOSITORY
53 Exemple:
54 update-repository /home/slitaz/experimental
56 Sorry for this ;)\\033[0m"
57 }