wok-current 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 83e2b2ddf023
children 9f947f5876b2
files hubbub/receipt libnsgif/receipt libparserutils/receipt libsmpeg/receipt
line diff
     1.1 --- a/hubbub/receipt	Fri May 14 10:42:16 2010 +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
     2.1 --- a/libnsgif/receipt	Fri May 14 10:42:16 2010 +0200
     2.2 +++ b/libnsgif/receipt	Fri May 14 10:47:49 2010 +0200
     2.3 @@ -12,8 +12,14 @@
     2.4  compile_rules()
     2.5  {
     2.6  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
     2.7 -	svn co svn://svn.netsurf-browser.org/trunk/libnsgif \
     2.8 -		-r $VERSION $PACKAGE-$VERSION
     2.9 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    2.10 +	if [ -f $TARBALL ]; then
    2.11 +		tar xzf $TARBALL
    2.12 +	else
    2.13 +		svn co svn://svn.netsurf-browser.org/trunk/libnsgif \
    2.14 +			-r $VERSION $PACKAGE-$VERSION
    2.15 +		tar czf $TARBALL $PACKAGE-$VERSION
    2.16 +	fi
    2.17  	cd $src
    2.18  	make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
    2.19  	make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
     3.1 --- a/libparserutils/receipt	Fri May 14 10:42:16 2010 +0200
     3.2 +++ b/libparserutils/receipt	Fri May 14 10:47:49 2010 +0200
     3.3 @@ -12,8 +12,14 @@
     3.4  compile_rules()
     3.5  {
     3.6  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
     3.7 -	svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
     3.8 -		-r $VERSION $PACKAGE-$VERSION
     3.9 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    3.10 +	if [ -f $TARBALL ]; then
    3.11 +		tar xzf $TARBALL
    3.12 +	else
    3.13 +		svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
    3.14 +			-r $VERSION $PACKAGE-$VERSION
    3.15 +		tar czf $TARBALL $PACKAGE-$VERSION
    3.16 +	fi
    3.17  	cd $src
    3.18  	make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
    3.19  	make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr 
     4.1 --- a/libsmpeg/receipt	Fri May 14 10:42:16 2010 +0200
     4.2 +++ b/libsmpeg/receipt	Fri May 14 10:47:49 2010 +0200
     4.3 @@ -15,8 +15,14 @@
     4.4  compile_rules()
     4.5  {
     4.6  	[ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION
     4.7 -	svn co svn://svn.icculus.org/$SOURCE/trunk \
     4.8 -		-r $VERSION $SOURCE-$VERSION
     4.9 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    4.10 +	if [ -f $TARBALL ]; then
    4.11 +		tar xzf $TARBALL
    4.12 +	else
    4.13 +		svn co svn://svn.icculus.org/$SOURCE/trunk \
    4.14 +			-r $VERSION $SOURCE-$VERSION
    4.15 +		tar czf $TARBALL $SOURCE-$VERSION
    4.16 +	fi
    4.17  	cd $src
    4.18  	chmod +x install-sh
    4.19  	./autogen.sh