wok-6.x diff aufs/receipt @ rev 8128

linux: s/lzma-alone/lzma/
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 24 18:05:34 2011 +0000 (2011-01-24)
parents 026c4d1f88ba
children d2253a0776e4
line diff
     1.1 --- a/aufs/receipt	Mon Jan 24 01:08:20 2011 +0000
     1.2 +++ b/aufs/receipt	Mon Jan 24 18:05:34 2011 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="aufs2 kernel module"
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  DEPENDS="linux"
     1.7 -BUILD_DEPENDS="linux-module-headers git"
     1.8 +BUILD_DEPENDS="linux-module-headers git lzma"
     1.9  WEB_SITE="http://aufs.sf.net/"
    1.10  PROVIDE="linux-aufs"
    1.11  
    1.12 @@ -16,20 +16,12 @@
    1.13  	local AUFSDIR="$PACKAGE-$VERSION"
    1.14  	TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.lzma
    1.15  	if [ -f $TARBALL ]; then
    1.16 -		lzma-alone d $TARBALL $AUFSDIR.tar 
    1.17 -		tar xf $AUFSDIR.tar
    1.18 -		if [ -f $AUFSDIR.tar ]; then
    1.19 -			rm -f $AUFSDIR.tar
    1.20 -		fi
    1.21 +		unlzma -c $TARBALL | tar xf -
    1.22  		cd $AUFSDIR && git checkout origin/aufs2.1-37
    1.23  	else
    1.24  		# Aufs2 from git repository
    1.25  		git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-standalone.git $AUFSDIR
    1.26 -		tar cf $AUFSDIR.tar $AUFSDIR
    1.27 -		lzma-alone e $AUFSDIR.tar $TARBALL
    1.28 -		if [ -f $AUFSDIR.tar ]; then
    1.29 -			rm -f $AUFSDIR.tar
    1.30 -		fi
    1.31 +		tar cf - $AUFSDIR | lzma e $TARBALL -si
    1.32  		cd $AUFSDIR && git checkout origin/aufs2.1-37
    1.33  	fi
    1.34  	cd $src