wok-current diff chess3d/receipt @ rev 9401

Up: rsync to 3.0.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 27 08:05:44 2011 +0000 (2011-03-27)
parents 833db15b2a74
children 2b260f668fef
line diff
     1.1 --- a/chess3d/receipt	Mon Feb 28 00:10:40 2011 +0100
     1.2 +++ b/chess3d/receipt	Sun Mar 27 08:05:44 2011 +0000
     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