wok annotate tazwok-experimental/receipt @ rev 8676

Up tazwok-experimental 0.0.6.6 (hopefully the last today :D...)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 00:44:16 2011 +0100 (2011-02-17)
parents 3382708bcd14
children 5380222c2b60
rev   line source
gokhlayeh@7998 1 # SliTaz package receipt.
gokhlayeh@7998 2
gokhlayeh@7998 3 PACKAGE="tazwok-experimental"
gokhlayeh@8676 4 VERSION="0.0.6.6"
gokhlayeh@7998 5 CATEGORY="base-system"
gokhlayeh@7998 6 SHORT_DESC="SliTaz sources and binaries packages cooker."
gokhlayeh@7998 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@7998 8 DEPENDS="busybox libtaz"
gokhlayeh@7998 9 SUGGESTED="tazchroot"
slaxemulator@8001 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@7998 11 WEB_SITE="http://www.slitaz.org/"
gokhlayeh@8628 12 # Use bitbucket until tank is back.
gokhlayeh@8628 13 #WGET_URL="http://mirror.slitaz.org/sources/$PACKAGE/$TARBALL"
gokhlayeh@8628 14 BUILD_DEPENDS="wget"
gokhlayeh@8628 15 WGET_URL="https://bitbucket.org/gokhlayeh/$PACKAGE/get/$VERSION.tar.bz2"
gokhlayeh@7998 16 CONFIG_FILES="/etc/slitaz/tazwok.conf"
gokhlayeh@8508 17 PROVIDE="tazwok"
gokhlayeh@7998 18 TAGS="slitaz"
gokhlayeh@7998 19
gokhlayeh@8628 20 compile_rules()
gokhlayeh@8628 21 {
gokhlayeh@8628 22 :
gokhlayeh@8628 23 }
gokhlayeh@8628 24
gokhlayeh@7998 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7998 26 genpkg_rules()
gokhlayeh@7998 27 {
gokhlayeh@7998 28 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
gokhlayeh@8628 29 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb
gokhlayeh@7998 30 # Copy Tazwok, doc and examples.
gokhlayeh@7998 31 cp -a $src/tazwok $fs/usr/bin
gokhlayeh@8628 32 cp -a $src/update-repository $fs/usr/bin
gokhlayeh@7998 33 chmod 755 $fs/usr/bin/tazwok
gokhlayeh@7998 34 cp -a $src/doc/* $fs/usr/share/doc/tazwok
gokhlayeh@7998 35 cp -a $src/applications $fs/usr/share
gokhlayeh@7998 36 # Config file
gokhlayeh@7998 37 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
gokhlayeh@7998 38 cp -a $src/examples/config.site $fs/etc
gokhlayeh@8628 39 # Webserver stuff
gokhlayeh@8628 40 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
gokhlayeh@7998 41 }
gokhlayeh@8000 42
gokhlayeh@8628 43 post_install()
gokhlayeh@8628 44 {
gokhlayeh@8628 45 echo -e "\\033[1;31mWARNING WARNING WARGNING
gokhlayeh@8628 46 You should run update-repository on all repositories you used with
gokhlayeh@8628 47 tazwok-experimental until there.This script change sources names, generate sources.list and modify
gokhlayeh@8628 48 logs to make you're repository consistent with last changes.
gokhlayeh@8628 49
gokhlayeh@8628 50 Usage is:
gokhlayeh@8628 51 update-repository LOCAL_REPOSITORY
gokhlayeh@8628 52
gokhlayeh@8628 53 Exemple:
gokhlayeh@8628 54 update-repository /home/slitaz/experimental
gokhlayeh@8628 55
gokhlayeh@8628 56 Sorry for this ;)\\033[0m"
gokhlayeh@8628 57 }