wok-current rev 9882

xlogo: cook/tazwok compatibility
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 17 01:04:54 2011 +0200 (2011-05-17)
parents 55e23a927f26
children 19e4b0cb5caa
files xlogo/receipt
line diff
     1.1 --- a/xlogo/receipt	Tue May 17 00:49:52 2011 +0200
     1.2 +++ b/xlogo/receipt	Tue May 17 01:04:54 2011 +0200
     1.3 @@ -14,14 +14,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar"
     1.7 -	[ -f $SOURCES_REPOSITORY/xlogo.jar ] ||
     1.8 -	wget $wget_url -P $SOURCES_REPOSITORY
     1.9 +	[ -f ${SOURCE_REPOSITORY:-$SRC}/xlogo.jar ] ||
    1.10 +	wget $wget_url -P ${SOURCE_REPOSITORY:-$SRC}
    1.11  }
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/lib/xlogo
    1.17 -	cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo
    1.18 +	cp ${SOURCE_REPOSITORY:-$SRC}/xlogo.jar $fs/usr/lib/xlogo
    1.19  }
    1.20