wok-stable diff smbwebclient/receipt @ rev 5687

Up busybox-static (1.16.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 04 17:44:39 2010 +0200 (2010-06-04)
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 Jun 04 17:44:39 2010 +0200
     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  }