wok-current diff linux/receipt @ rev 8415

Up: libexif to 0.6.20.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 16:44:19 2011 +0000 (2011-02-05)
parents 026c4d1f88ba
children 7cd28c1efe9b
line diff
     1.1 --- a/linux/receipt	Mon Jan 24 01:08:20 2011 +0000
     1.2 +++ b/linux/receipt	Sat Feb 05 16:44:19 2011 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="The Linux kernel and modules."
     1.6  DEPENDS="depmod"
     1.7 -BUILD_DEPENDS="slitaz-toolchain perl git"
     1.8 +BUILD_DEPENDS="slitaz-toolchain perl git lzma"
     1.9  MAINTAINER="devel@slitaz.org"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.kernel.org/"
    1.12 @@ -25,21 +25,13 @@
    1.13  	local AUFSDIR="aufs-${_AUFSVER}"
    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  		cd $WOK/$PACKAGE
    1.24  	else
    1.25  		# Aufs2 from git repository
    1.26  		git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-standalone.git $AUFSDIR
    1.27 -		tar cf $AUFSDIR.tar $AUFSDIR
    1.28 -		lzma-alone e $AUFSDIR.tar $TARBALL
    1.29 -		if [ -f $AUFSDIR.tar ]; then
    1.30 -			rm -f $AUFSDIR.tar
    1.31 -		fi
    1.32 +		tar cf - $AUFSDIR | lzma e $TARBALL -si
    1.33  		cd $AUFSDIR && git checkout origin/aufs2.1-37
    1.34  		cd $WOK/$PACKAGE
    1.35  	fi