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