wok-6.x diff ewl/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 | cf8f570e2ad6 |
children | a11358feced4 |
line diff
1.1 --- a/ewl/receipt Tue May 04 22:10:34 2010 +0200 1.2 +++ b/ewl/receipt Fri May 14 10:42:16 2010 +0200 1.3 @@ -14,8 +14,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 \