wok-current rev 8628
Up: tazwok 0.0.6.1
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:14:29 2011 +0100 (2011-02-15) |
parents | d92dade2fc1d |
children | fd43246b4613 |
files | tazwok-experimental/receipt |
line diff
1.1 --- a/tazwok-experimental/receipt Tue Feb 15 03:14:00 2011 +0100 1.2 +++ b/tazwok-experimental/receipt Tue Feb 15 03:14:29 2011 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazwok-experimental" 1.7 -VERSION="0.0.5.6" 1.8 +VERSION="0.0.6.1" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="SliTaz sources and binaries packages cooker." 1.11 MAINTAINER="gokhlayeh@slitaz.org" 1.12 @@ -9,24 +9,49 @@ 1.13 SUGGESTED="tazchroot" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://www.slitaz.org/" 1.16 -WGET_URL="http://mirror.slitaz.org/sources/tazwok-experimental/$TARBALL" 1.17 +# Use bitbucket until tank is back. 1.18 +#WGET_URL="http://mirror.slitaz.org/sources/$PACKAGE/$TARBALL" 1.19 +BUILD_DEPENDS="wget" 1.20 +WGET_URL="https://bitbucket.org/gokhlayeh/$PACKAGE/get/$VERSION.tar.bz2" 1.21 CONFIG_FILES="/etc/slitaz/tazwok.conf" 1.22 PROVIDE="tazwok" 1.23 TAGS="slitaz" 1.24 1.25 +compile_rules() 1.26 +{ 1.27 + : 1.28 +} 1.29 + 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \ 1.34 - $fs/etc/slitaz 1.35 + $fs/etc/slitaz $fs/usr/share/slitaz/web-bb 1.36 # Copy Tazwok, doc and examples. 1.37 cp -a $src/tazwok $fs/usr/bin 1.38 + cp -a $src/update-repository $fs/usr/bin 1.39 chmod 755 $fs/usr/bin/tazwok 1.40 cp -a $src/doc/* $fs/usr/share/doc/tazwok 1.41 cp -a $src/applications $fs/usr/share 1.42 # Config file 1.43 cp -a $src/examples/tazwok.conf $fs/etc/slitaz 1.44 cp -a $src/examples/config.site $fs/etc 1.45 + # Webserver stuff 1.46 + cp -a $src/web/* $fs/usr/share/slitaz/web-bb 1.47 } 1.48 1.49 -TAZBB_NO_INSTALL="Not ready to be used on tank yet." 1.50 +post_install() 1.51 +{ 1.52 + echo -e "\\033[1;31mWARNING WARNING WARGNING 1.53 +You should run update-repository on all repositories you used with 1.54 +tazwok-experimental until there.This script change sources names, generate sources.list and modify 1.55 +logs to make you're repository consistent with last changes. 1.56 + 1.57 +Usage is: 1.58 +update-repository LOCAL_REPOSITORY 1.59 + 1.60 +Exemple: 1.61 +update-repository /home/slitaz/experimental 1.62 + 1.63 +Sorry for this ;)\\033[0m" 1.64 +}