wok diff othello/receipt @ rev 9531
Up: gtkmm to 2.24.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 07 23:25:06 2011 +0000 (2011-04-07) |
parents | 3a528b002257 |
children | 2b260f668fef |
line diff
1.1 --- a/othello/receipt Tue Mar 01 23:18:31 2011 +0100 1.2 +++ b/othello/receipt Thu Apr 07 23:25:06 2011 +0000 1.3 @@ -13,16 +13,21 @@ 1.4 { 1.5 mkdir -p $src/images 2> /dev/null 1.6 cd $src 1.7 - if [ ! -s othello.js ] && 1.8 - wget http://mirror.slitaz.org/sources/packages/o/$TARBALL; then 1.9 - unlzma -c $TARBALL | tar xf - 1.10 - mv $PACKAGE-$VERSION/* . 1.11 + if [ ! -s othello.js ]; then 1.12 + if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.13 + unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 1.14 + mv $PACKAGE-$VERSION/* . 1.15 + else 1.16 + wget -O $SOURCES_REPOSITORY/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && 1.17 + unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 1.18 + mv $PACKAGE-$VERSION/* . 1.19 + fi 1.20 fi 1.21 - for i in index.html othello.js \ 1.22 - images/blank.gif images/white.gif images/black.gif \ 1.23 - images/white-trans.gif images/black-trans.gif ; do 1.24 - [ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i 1.25 - done 1.26 + #for i in index.html othello.js \ 1.27 + # images/blank.gif images/white.gif images/black.gif \ 1.28 + # images/white-trans.gif images/black-trans.gif ; do 1.29 + # [ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i 1.30 + #done 1.31 sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html 1.32 } 1.33