wok diff xlogo/receipt @ rev 5799

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 13:55:46 2010 +0200 (2010-07-11)
parents e991179fb48c
children dc0644f601c0
line diff
     1.1 --- a/xlogo/receipt	Sat Sep 12 00:34:03 2009 +0000
     1.2 +++ b/xlogo/receipt	Sun Jul 11 13:55:46 2010 +0200
     1.3 @@ -12,16 +12,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar"
     1.7 -	mkdir $PACKAGE-$VERSION
     1.8 -	cd $src
     1.9 -	wget $wget_url
    1.10 +	[ -f $SOURCES_REPOSITORY/xlogo.jar ] ||
    1.11 +	wget $wget_url -P $SOURCES_REPOSITORY
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 -	_pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION"
    1.18  	mkdir -p $fs/usr/lib/xlogo
    1.19 -	cp $_pkg/xlogo.jar $fs/usr/lib/xlogo
    1.20 +	cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo
    1.21  }
    1.22