# HG changeset patch # User Pascal Bellard # Date 1295887646 -3600 # Node ID 531954b1170f56787507c9639a9ccd923e249af8 # Parent 6fc060ce8c8c34f17d37faea8b90fa752bff5398 aufs: s/lzma-alone/lzma/ diff -r 6fc060ce8c8c -r 531954b1170f aufs/receipt --- a/aufs/receipt Mon Jan 24 08:10:30 2011 +0000 +++ b/aufs/receipt Mon Jan 24 17:47:26 2011 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="aufs2 kernel module" MAINTAINER="slaxemulator@gmail.com" DEPENDS="linux" -BUILD_DEPENDS="linux-module-headers git" +BUILD_DEPENDS="linux-module-headers git lzma" WEB_SITE="http://aufs.sf.net/" PROVIDE="linux-aufs" @@ -16,20 +16,12 @@ local AUFSDIR="$PACKAGE-$VERSION" 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 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 fi cd $src