# HG changeset patch
# User Antoine Bodin <gokhlayeh@slitaz.org>
# Date 1297634276 -3600
# Node ID 86389dd74a3560e6895e918fb9d9584dcfafc7e9
# Parent  96db5f7822ae8f900bda70578244da3ea69deafa
imported patch get/libsmpeg

diff -r 96db5f7822ae -r 86389dd74a35 libsmpeg/receipt
--- a/libsmpeg/receipt	Sun Feb 13 22:57:56 2011 +0100
+++ b/libsmpeg/receipt	Sun Feb 13 22:57:56 2011 +0100
@@ -8,20 +8,12 @@
 WEB_SITE="http://icculus.org/smpeg"
 DEPENDS="libsdl gcc-lib-base"
 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
+WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
+BRANCH="$VERSION"
 
 # Rules to configure and make the package.
 compile_rules()
 {
-	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
-	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
-	[ -L /bin/tar ] && tazpkg get-install tar --forced
-	if [ -f $TARBALL ]; then
-		tar xf $TARBALL
-	else
-		svn co svn://svn.icculus.org/smpeg/trunk \
-			-r $VERSION $PACKAGE-$VERSION &&
-		tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
-	fi
 	cd $src
 	chmod +x install-sh
 	./autogen.sh