wok diff smbwebclient/receipt @ rev 8195

imported patch toolchain/libtool.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents bd6010223726
children e40d8e48447d
line diff
     1.1 --- a/smbwebclient/receipt	Tue Dec 23 10:31:12 2008 +0000
     1.2 +++ b/smbwebclient/receipt	Thu Jan 27 00:20:50 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  }