wok-6.x diff smbwebclient/receipt @ rev 5944
Up catalyst (10.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 11:41:52 2010 +0200 (2010-08-03) |
parents | bd6010223726 |
children | e40d8e48447d |
line diff
1.1 --- a/smbwebclient/receipt Tue Dec 23 10:31:12 2008 +0000 1.2 +++ b/smbwebclient/receipt Tue Aug 03 11:41:52 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 }