wok-current rev 8911

chess3d: get sources from slitaz mirror
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 14:41:07 2011 +0100 (2011-02-28)
parents f2dd7b46702a
children 1e7c52662662
files chess3d/receipt
line diff
     1.1 --- a/chess3d/receipt	Mon Feb 28 12:52:47 2011 +0100
     1.2 +++ b/chess3d/receipt	Mon Feb 28 14:41:07 2011 +0100
     1.3 @@ -4,6 +4,7 @@
     1.4  VERSION="1.0"
     1.5  CATEGORY="games"
     1.6  SHORT_DESC="3D Chess game in javascript"
     1.7 +TARBALL="$PACKAGE-$VERSION.tar.lzma"
     1.8  MAINTAINER="pascal.bellard@slitaz.org"
     1.9  WEB_SITE="http://chessforeva.appspot.com/"
    1.10  
    1.11 @@ -12,6 +13,11 @@
    1.12  {
    1.13  	mkdir $src
    1.14  	cd $src
    1.15 +	if [ ! -s C0_Toledo.htm ] &&
    1.16 +		wget http://mirror.slitaz.org/sources/packages/c/$TARBALL; then
    1.17 +		unlzma -c $TARBALL | tar xf -
    1.18 +		mv $PACKAGE-$VERSION/* .
    1.19 +	fi
    1.20  	mkdir arts d_img img
    1.21  	for i in C0_Toledo.htm c0_pgn.js c0_chess.js ; do
    1.22  		[ -s $i ] && continue