wok diff rage/receipt @ rev 5562
mplayer-svn, rage: cache svn fetched files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 10:52:03 2010 +0200 (2010-05-14) |
parents | 8be66f03fbd2 |
children | a11358feced4 |
line diff
1.1 --- a/rage/receipt Wed Feb 24 11:44:49 2010 +0000 1.2 +++ b/rage/receipt Fri May 14 10:52:03 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 \