wok-6.x rev 8121
Fixed pcsxr-svn to use lzma-alone instead of lzma wrapper script. Turns out the lzma wrapper script for xz is incompatible with lzma-alone compression. Also lzma-alone compress better.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 24 00:57:47 2011 +0000 (2011-01-24) |
parents | 601a71b6e02e |
children | 026c4d1f88ba |
files | pcsxr-svn/receipt |
line diff
1.1 --- a/pcsxr-svn/receipt Sun Jan 23 21:51:05 2011 +0000 1.2 +++ b/pcsxr-svn/receipt Mon Jan 24 00:57:47 2011 +0000 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="slaxemulator@gmail.com" 1.5 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl" 1.6 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \ 1.7 -zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed tar" 1.8 +zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed" 1.9 WEB_SITE="http://pcsxr.codeplex.com/" 1.10 1.11 # Rules to configure and make the package. 1.12 @@ -15,13 +15,20 @@ 1.13 { 1.14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION 1.15 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma 1.16 - [ -L /bin/tar ] && tazpkg get-install tar --forced 1.17 if [ -f $TARBALL ]; then 1.18 - tar -x -f $TARBALL 1.19 + lzma-alone d $TARBALL $PACKAGE-$VERSION.tar 1.20 + tar xf $PACKAGE-$VERSION.tar 1.21 + if [ -f $PACKAGE-$VERSION.tar ]; then 1.22 + rm -f $PACKAGE-$VERSION.tar 1.23 + fi 1.24 else 1.25 echo "Cloning revision $VERSION from subversion repository..." 1.26 echo "t" | svn co https://pcsxr.svn.codeplex.com/svn/pcsxr -r $VERSION $PACKAGE-$VERSION 1.27 - tar -c --lzma -f $TARBALL $PACKAGE-$VERSION 1.28 + tar cf $PACKAGE-$VERSION.tar $PACKAGE-$VERSION 1.29 + lzma-alone e $PACKAGE-$VERSION.tar $TARBALL 1.30 + if [ -f $PACKAGE-$VERSION.tar ]; then 1.31 + rm -f $PACKAGE-$VERSION.tar 1.32 + fi 1.33 fi 1.34 cd $src 1.35 ./autogen.sh \