wok-current rev 8547

imported patch get/dillo-hg
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents ef4bf2fff7b9
children 1dc033b25f22
files dillo-hg/receipt
line diff
     1.1 --- a/dillo-hg/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/dillo-hg/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -11,20 +11,12 @@
     1.4  python mercurial"
     1.5  SUGGESTED="openssl"
     1.6  CONFLICTS="dillo"
     1.7 +WGET_URL="mercurial|http://hg.dillo.org/dillo"
     1.8 +BRANCH="$VERSION"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.14 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.15 -	if [ -f $TARBALL ]; then
    1.16 -		tar xzf $TARBALL
    1.17 -	else
    1.18 -		echo "Cloning revision $VERSION from Dillo repository..."
    1.19 -		hg clone --rev $VERSION \
    1.20 -			http://hg.dillo.org/dillo $PACKAGE-$VERSION || exit 0
    1.21 -		tar czf $TARBALL $PACKAGE-$VERSION
    1.22 -	fi
    1.23  	cd $src
    1.24  	./autogen.sh &&
    1.25  	./configure \