wok-4.x diff dillo-hg/receipt @ rev 7133
Up: broadcom-wl to 5.60.246.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 05 18:27:04 2010 +0000 (2010-11-05) |
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 Fri Nov 05 18:27:04 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 \