wok-current rev 8116

Fixed pcsxr-svn.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 20:01:37 2011 +0000 (2011-01-23)
parents 94e37d5bb0dc
children 068c73391102
files pcsxr-svn/receipt
line diff
     1.1 --- a/pcsxr-svn/receipt	Mon Jan 24 01:21:58 2011 +0100
     1.2 +++ b/pcsxr-svn/receipt	Sun Jan 23 20:01:37 2011 +0000
     1.3 @@ -6,8 +6,8 @@
     1.4  SHORT_DESC="A Sony PlayStation emulator based on the PCSX-df Project"
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
     1.7 -BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
     1.8 -zlib-dev libsdl libsdl-dev subversion nasm gettext tar"
     1.9 +BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
    1.10 +zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed tar"
    1.11  WEB_SITE="http://pcsxr.codeplex.com/"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14 @@ -15,16 +15,27 @@
    1.15  {
    1.16  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.17  	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.18 +	#NEW_TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar
    1.19  	[ -L /bin/tar ] && tazpkg get-install tar --forced
    1.20  	if [ -f $TARBALL ]; then
    1.21 -		tar -xf $TARBALL
    1.22 +		#cp $TARBALL $PACKAGE-$VERSION.tar.lzma
    1.23 +		#unlzma $PACKAGE-$VERSION.tar.lzma && tar xf $PACKAGE-$VERSION.tar
    1.24 +		#if [ -f $PACKAGE-$VERSION.tar ]; then
    1.25 +		#	rm -f $PACKAGE-$VERSION.tar
    1.26 +		#fi
    1.27 +		tar -x -f $TARBALL
    1.28  	else
    1.29  		echo "Cloning revision $VERSION from subversion repository..."
    1.30 -		echo "t" | svn co https://pcsxr.svn.codeplex.com/svn -r $VERSION $PACKAGE-$VERSION
    1.31 +		echo "t" | svn co https://pcsxr.svn.codeplex.com/svn/pcsxr -r $VERSION $PACKAGE-$VERSION
    1.32 +		#tar cf $NEW_TARBALL $PACKAGE-$VERSION
    1.33 +		#lzma-alone e $NEW_TARBALL $TARBALL
    1.34 +		#if [ -f $NEW_TARBALL ]; then
    1.35 +		#	rm -f $NEW_TARBALL
    1.36 +		#fi
    1.37  		tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
    1.38  	fi
    1.39 -	cd $src/pcsxr
    1.40 -	./configure \
    1.41 +	cd $src
    1.42 +	./autogen.sh \
    1.43  		--prefix=/usr \
    1.44  		--infodir=/usr/share/info \
    1.45  		--mandir=/usr/share/man \
    1.46 @@ -37,7 +48,6 @@
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	_pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/pcsxr/_pkg
    1.51  	mkdir -p $fs/usr/share
    1.52  	cp -a $_pkg/usr/bin $fs/usr
    1.53  	cp -a $_pkg/usr/lib $fs/usr