wok-6.x diff mplayer-svn/receipt @ rev 8507

Up: tazchroot 0.0.5
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:55:23 2011 +0100 (2011-02-12)
parents 3b92799d0648
children 1d765f8acefe
line diff
     1.1 --- a/mplayer-svn/receipt	Sun Dec 12 00:06:16 2010 +0000
     1.2 +++ b/mplayer-svn/receipt	Sat Feb 12 02:55:23 2011 +0100
     1.3 @@ -27,15 +27,13 @@
     1.4  
     1.5  compile_rules()
     1.6  {
     1.7 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
     1.8 -	if [ -d $PACKAGE-$VERSION ]; then
     1.9 -		true
    1.10 -	elif [ -f $TARBALL ]; then
    1.11 -		tar xzf $TARBALL
    1.12 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.13 +	if [ -f $TARBALL ]; then
    1.14 +		unlzma -c $TARBALL | tar xf -
    1.15  	else
    1.16  		svn checkout -r $VERSION \
    1.17  			svn://svn.mplayerhq.hu/mplayer/trunk $PACKAGE-$VERSION &&
    1.18 -		tar czf $TARBALL $PACKAGE-$VERSION
    1.19 +		tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
    1.20  	fi
    1.21  	cd $src
    1.22  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`