wok-4.x rev 10758
nanochess: get source in $SOURCES_REPOSITORY (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 11:51:33 2011 +0200 (2011-05-31) |
parents | 274662686de1 |
children | 675153fbaf35 |
files | nanochess/receipt |
line diff
1.1 --- a/nanochess/receipt Tue May 31 11:34:51 2011 +0200 1.2 +++ b/nanochess/receipt Tue May 31 11:51:33 2011 +0200 1.3 @@ -13,9 +13,10 @@ 1.4 mkdir $src 2> /dev/null 1.5 cd $src 1.6 _TARBALL=toledo_javascript_chess_3.html 1.7 - [ -s $SOURCES_REPOSITORY/$_TARBALL ] || 1.8 - wget -P $SOURCES_REPOSITORY $(dirname $WEB_SITE)/archive/$_TARBALL 1.9 - cp $SOURCES_REPOSITORY/$_TARBALL index.html && 1.10 + [ -s ${SOURCE_REPOSITORY:-$SRC}/$_TARBALL ] || 1.11 + wget -P ${SOURCE_REPOSITORY:-$SRC} \ 1.12 + $(dirname $WEB_SITE)/archive/$_TARBALL 1.13 + cp ${SOURCE_REPOSITORY:-$SRC}/$_TARBALL index.html && 1.14 sed -i -e 's/<select/\♟ \→ &/' \ 1.15 -e 's/50px/"+P+"px/g' -e 's/=60/="+H+"/g' \ 1.16 -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \