wok diff mplayer-svn/receipt @ rev 8526

Fix: depend name in nagios.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 12 19:36:25 2011 +0000 (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 19:36:25 2011 +0000
     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'`