# HG changeset patch # User Christopher Rogers # Date 1295892334 0 # Node ID 489898e9f029b34353aef694111739041268d871 # Parent c6f1305ec65deaf8dcd02d0b765deb413957add2 linux: s/lzma-alone/lzma/ diff -r c6f1305ec65d -r 489898e9f029 linux/receipt --- a/linux/receipt Mon Jan 24 20:40:25 2011 +0100 +++ b/linux/receipt Mon Jan 24 18:05:34 2011 +0000 @@ -5,7 +5,7 @@ CATEGORY="base-system" SHORT_DESC="The Linux kernel and modules." DEPENDS="depmod" -BUILD_DEPENDS="slitaz-toolchain perl git" +BUILD_DEPENDS="slitaz-toolchain perl git lzma" MAINTAINER="devel@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.kernel.org/" @@ -25,21 +25,13 @@ local AUFSDIR="aufs-${_AUFSVER}" TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.lzma if [ -f $TARBALL ]; then - lzma-alone d $TARBALL $AUFSDIR.tar - tar xf $AUFSDIR.tar - if [ -f $AUFSDIR.tar ]; then - rm -f $AUFSDIR.tar - fi + unlzma -c $TARBALL | tar xf - cd $AUFSDIR && git checkout origin/aufs2.1-37 cd $WOK/$PACKAGE else # Aufs2 from git repository git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs2-standalone.git $AUFSDIR - tar cf $AUFSDIR.tar $AUFSDIR - lzma-alone e $AUFSDIR.tar $TARBALL - if [ -f $AUFSDIR.tar ]; then - rm -f $AUFSDIR.tar - fi + tar cf - $AUFSDIR | lzma e $TARBALL -si cd $AUFSDIR && git checkout origin/aufs2.1-37 cd $WOK/$PACKAGE fi