wok-6.x diff xlogo/receipt @ rev 5960
gcc: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 05 21:27:52 2010 +0200 (2010-08-05) |
parents | e991179fb48c |
children | dc0644f601c0 |
line diff
1.1 --- a/xlogo/receipt Sat Sep 12 00:34:03 2009 +0000 1.2 +++ b/xlogo/receipt Thu Aug 05 21:27:52 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