wok diff othello/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents f13bd223c231
children 1a6eb3793a9e
line diff
     1.1 --- a/othello/receipt	Sat Dec 07 14:51:10 2013 +0000
     1.2 +++ b/othello/receipt	Sun Jun 14 23:18:03 2020 -0400
     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