# HG changeset patch # User Pascal Bellard # Date 1299017911 -3600 # Node ID 3a528b0022571696482157daccc48dab0d9b2c9d # Parent f09b3af74c7c067a46fffdd9a57e675dbc32c767 othello: get tarball from slitaz mirror diff -r f09b3af74c7c -r 3a528b002257 othello/receipt --- a/othello/receipt Tue Mar 01 16:55:18 2011 +0000 +++ b/othello/receipt Tue Mar 01 23:18:31 2011 +0100 @@ -4,6 +4,7 @@ VERSION="1.0" CATEGORY="games" SHORT_DESC="Othello game in javascript" +TARBALL="$PACKAGE-$VERSION.tar.lzma" MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://www.posi.net/software/othello/" @@ -12,6 +13,11 @@ { mkdir -p $src/images 2> /dev/null cd $src + if [ ! -s othello.js ] && + wget http://mirror.slitaz.org/sources/packages/o/$TARBALL; then + unlzma -c $TARBALL | tar xf - + mv $PACKAGE-$VERSION/* . + fi for i in index.html othello.js \ images/blank.gif images/white.gif images/black.gif \ images/white-trans.gif images/black-trans.gif ; do