wok diff hubbub/receipt @ rev 5561
hubbub, libnsgif, libparserutils, libsmpeg: cache svn fetched files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 10:47:49 2010 +0200 (2010-05-14) |
parents | 83008a752b17 |
children | a11358feced4 |
line diff
1.1 --- a/hubbub/receipt Tue Sep 22 20:07:31 2009 +0200 1.2 +++ b/hubbub/receipt Fri May 14 10:47:49 2010 +0200 1.3 @@ -13,8 +13,14 @@ 1.4 compile_rules() 1.5 { 1.6 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION 1.7 - svn co svn://svn.netsurf-browser.org/trunk/hubbub \ 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 svn://svn.netsurf-browser.org/trunk/hubbub \ 1.14 + -r $VERSION $PACKAGE-$VERSION 1.15 + tar czf $TARBALL $PACKAGE-$VERSION 1.16 + fi 1.17 cd $src 1.18 make install DESTDIR=$PWD/_pkg PREFIX=/usr && 1.19 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr