wok rev 8112

Made libsmpeg use real tar instead of busybox tar. Change compression to .tar.lzma so it will work with tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 15:39:38 2011 +0000 (2011-01-23)
parents b89a598ef281
children 99603513ae10
files libsmpeg-dev/receipt libsmpeg/receipt
line diff
     1.1 --- a/libsmpeg-dev/receipt	Sun Jan 23 15:36:07 2011 +0000
     1.2 +++ b/libsmpeg-dev/receipt	Sun Jan 23 15:39:38 2011 +0000
     1.3 @@ -1,21 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsmpeg-dev"
     1.7 -SOURCE="smpeg"
     1.8  VERSION="389"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Mpeg decoding library devel files"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  WEB_SITE="http://icculus.org/smpeg"
    1.13  DEPENDS="libsmpeg"
    1.14 -BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
    1.15  WANTED="libsmpeg"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
    1.21 -	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.22 +	#_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.23  	cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
    1.24  	chmod +x $fs/usr/bin/smpeg-config
    1.25  	cp -a $_pkg/usr/include/smpeg $fs/usr/include
     2.1 --- a/libsmpeg/receipt	Sun Jan 23 15:36:07 2011 +0000
     2.2 +++ b/libsmpeg/receipt	Sun Jan 23 15:39:38 2011 +0000
     2.3 @@ -1,27 +1,26 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libsmpeg"
     2.7 -SOURCE="smpeg"
     2.8  VERSION="389"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Mpeg decoding library"
    2.11  MAINTAINER="claudinei@slitaz.org"
    2.12  WEB_SITE="http://icculus.org/smpeg"
    2.13  DEPENDS="libsdl gcc-lib-base"
    2.14 -BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
    2.15 -
    2.16 +BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
    2.17  
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20  {
    2.21 -	[ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION
    2.22 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    2.23 +	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    2.24 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    2.25 +	[ -L /bin/tar ] && tazpkg get-install tar --forced
    2.26  	if [ -f $TARBALL ]; then
    2.27 -		tar xzf $TARBALL
    2.28 +		tar xf $TARBALL
    2.29  	else
    2.30 -		svn co svn://svn.icculus.org/$SOURCE/trunk \
    2.31 -			-r $VERSION $SOURCE-$VERSION &&
    2.32 -		tar czf $TARBALL $SOURCE-$VERSION
    2.33 +		svn co svn://svn.icculus.org/smpeg/trunk \
    2.34 +			-r $VERSION $PACKAGE-$VERSION &&
    2.35 +		tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
    2.36  	fi
    2.37  	cd $src
    2.38  	chmod +x install-sh