wok-6.x diff smbwebclient/receipt @ rev 9225

busybox: fix cksum applet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 18:53:09 2011 +0100 (2011-03-11)
parents bd6010223726
children e40d8e48447d
line diff
     1.1 --- a/smbwebclient/receipt	Tue Dec 23 10:31:12 2008 +0000
     1.2 +++ b/smbwebclient/receipt	Fri Mar 11 18:53:09 2011 +0100
     1.3 @@ -12,10 +12,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	[ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.php.gz ] ||
     1.8 +		wget $SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.php.gz -P $SOURCES_REPOSITORY
     1.9  	if [ ! -d $src ]; then
    1.10 -		wget $SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.php.gz || return 1
    1.11  		mkdir -p $src
    1.12 -		mv $PACKAGE-$VERSION.php.gz $src
    1.13 +		cp $SOURCES_REPOSITORY/$PACKAGE-$VERSION.php.gz $src
    1.14  		gunzip $src/$PACKAGE-$VERSION.php.gz
    1.15  	fi
    1.16  }