wok-6.x 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 | c6f1305ec65d |
children | 0740a7e6c9ad |
files | linux/receipt |
line diff
1.1 --- a/linux/receipt Mon Jan 24 20:40:25 2011 +0100 1.2 +++ b/linux/receipt Mon Jan 24 18:05:34 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