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