wok-current diff dillo-hg/receipt @ rev 6346

Up: gobby to 0.4.12. net6, net6-dev to 1.3.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 22:01:57 2010 +0000 (2010-09-19)
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	Sun Sep 19 22:01:57 2010 +0000
     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 \