wok-current diff othello/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
parents | f13bd223c231 |
children | 1a6eb3793a9e |
line diff
1.1 --- a/othello/receipt Sat Dec 07 14:51:10 2013 +0000 1.2 +++ b/othello/receipt Wed Jun 01 08:14:05 2022 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="games" 1.5 SHORT_DESC="Othello game in javascript" 1.6 TARBALL="$PACKAGE-$VERSION.tar.lzma" 1.7 +WGET_URL="http://mirror.slitaz.org/sources/packages/o/$TARBALL" 1.8 MAINTAINER="pascal.bellard@slitaz.org" 1.9 LICENSE="MIT" 1.10 WEB_SITE="http://www.posi.net/software/othello/" 1.11 @@ -12,23 +13,6 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - mkdir -p $src/images 2> /dev/null 1.16 - cd $src 1.17 - if [ ! -s othello.js ]; then 1.18 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.19 - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 1.20 - mv $PACKAGE-$VERSION/* . 1.21 - else 1.22 - wget -O $SOURCES_REPOSITORY/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && 1.23 - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 1.24 - mv $PACKAGE-$VERSION/* . 1.25 - fi 1.26 - fi 1.27 - #for i in index.html othello.js \ 1.28 - # images/blank.gif images/white.gif images/black.gif \ 1.29 - # images/white-trans.gif images/black-trans.gif ; do 1.30 - # [ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i 1.31 - #done 1.32 sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html 1.33 } 1.34