wok-next diff dillo-hg/receipt @ rev 6405

scanssh: typo in build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 25 13:41:48 2010 +0200 (2010-09-25)
parents 6e90579538d6
children 4420775b8cf6
line diff
     1.1 --- a/dillo-hg/receipt	Sun Feb 28 14:11:33 2010 +0100
     1.2 +++ b/dillo-hg/receipt	Sat Sep 25 13:41:48 2010 +0200
     1.3 @@ -16,9 +16,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
     1.7 -	echo "Cloning revision $VERSIN from Dillo repository..."
     1.8 -	hg clone --rev $VERSION \
     1.9 -		http://hg.dillo.org/dillo $PACKAGE-$VERSION || exit 0
    1.10 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.11 +	if [ -f $TARBALL ]; then
    1.12 +		tar xzf $TARBALL
    1.13 +	else
    1.14 +		echo "Cloning revision $VERSION from Dillo repository..."
    1.15 +		hg clone --rev $VERSION \
    1.16 +			http://hg.dillo.org/dillo $PACKAGE-$VERSION || exit 0
    1.17 +		tar czf $TARBALL $PACKAGE-$VERSION
    1.18 +	fi
    1.19  	cd $src
    1.20  	./autogen.sh &&
    1.21  	./configure \