wok-next diff pcsxr-svn/receipt @ rev 8219

imported patch cleanup/kbd.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents cd04ff131018
children e3a55b50358b
line diff
     1.1 --- a/pcsxr-svn/receipt	Mon Jan 24 00:57:47 2011 +0000
     1.2 +++ b/pcsxr-svn/receipt	Thu Jan 27 00:20:50 2011 +0100
     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"
     1.8 +zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma"
     1.9  WEB_SITE="http://pcsxr.codeplex.com/"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12 @@ -16,19 +16,11 @@
    1.13  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.14  	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.15  	if [ -f $TARBALL ]; then
    1.16 -		lzma-alone d $TARBALL $PACKAGE-$VERSION.tar 
    1.17 -		tar xf $PACKAGE-$VERSION.tar
    1.18 -		if [ -f $PACKAGE-$VERSION.tar ]; then
    1.19 -			rm -f $PACKAGE-$VERSION.tar
    1.20 -		fi
    1.21 +		unlzma -c $TARBALL | tar xf -
    1.22  	else
    1.23  		echo "Cloning revision $VERSION from subversion repository..."
    1.24  		echo "t" | svn co https://pcsxr.svn.codeplex.com/svn/pcsxr -r $VERSION $PACKAGE-$VERSION
    1.25 -		tar cf $PACKAGE-$VERSION.tar $PACKAGE-$VERSION
    1.26 -		lzma-alone e $PACKAGE-$VERSION.tar $TARBALL
    1.27 -		if [ -f $PACKAGE-$VERSION.tar ]; then
    1.28 -			rm -f $PACKAGE-$VERSION.tar
    1.29 -		fi
    1.30 +		tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
    1.31  	fi
    1.32  	cd $src
    1.33  	./autogen.sh \