wok-6.x diff dillo-hg/receipt @ rev 7075
nanochess: resize to window height
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 02 20:34:30 2010 +0100 (2010-11-02) |
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 Tue Nov 02 20:34:30 2010 +0100 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 \