wok diff xlogo/receipt @ rev 10469

libgd: use hg to get source
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 11:46:22 2011 +0200 (2011-05-25)
parents ad00280438a6
children ad950661374c
line diff
     1.1 --- a/xlogo/receipt	Tue Apr 26 15:26:46 2011 +0200
     1.2 +++ b/xlogo/receipt	Wed May 25 11:46:22 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