wok diff emotion/receipt @ rev 5560

emotion, esmart, ewl, ffmpeg-svn: cache svn fetched files in SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 10:42:16 2010 +0200 (2010-05-14)
parents b68b4f934ba7
children a11358feced4
line diff
     1.1 --- a/emotion/receipt	Tue Mar 02 18:31:54 2010 +0100
     1.2 +++ b/emotion/receipt	Fri May 14 10:42:16 2010 +0200
     1.3 @@ -15,8 +15,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
     1.7 -	svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
     1.8 -		-r $VERSION $PACKAGE-$VERSION
     1.9 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    1.10 +	if [ -f $TARBALL ]; then
    1.11 +		tar xzf $TARBALL
    1.12 +	else
    1.13 +		svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
    1.14 +			-r $VERSION $PACKAGE-$VERSION
    1.15 +		tar czf $TARBALL $PACKAGE-$VERSION
    1.16 +	fi
    1.17  	cd $src
    1.18  	./autogen.sh \
    1.19  		--prefix=/usr \