# HG changeset patch # User Christopher Rogers # Date 1295797178 0 # Node ID 30506fc48f40c4ad23f7bbf58c392b16a3fcebfa # Parent b89a598ef281c0fa4c490f38b9098bced24f0509 Made libsmpeg use real tar instead of busybox tar. Change compression to .tar.lzma so it will work with tazwok-experimental. diff -r b89a598ef281 -r 30506fc48f40 libsmpeg-dev/receipt --- a/libsmpeg-dev/receipt Sun Jan 23 15:36:07 2011 +0000 +++ b/libsmpeg-dev/receipt Sun Jan 23 15:39:38 2011 +0000 @@ -1,21 +1,19 @@ # SliTaz package receipt. PACKAGE="libsmpeg-dev" -SOURCE="smpeg" VERSION="389" CATEGORY="development" SHORT_DESC="Mpeg decoding library devel files" MAINTAINER="claudinei@slitaz.org" WEB_SITE="http://icculus.org/smpeg" DEPENDS="libsmpeg" -BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion" WANTED="libsmpeg" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include - _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg + #_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg cp $_pkg/usr/bin/smpeg-config $fs/usr/bin chmod +x $fs/usr/bin/smpeg-config cp -a $_pkg/usr/include/smpeg $fs/usr/include diff -r b89a598ef281 -r 30506fc48f40 libsmpeg/receipt --- a/libsmpeg/receipt Sun Jan 23 15:36:07 2011 +0000 +++ b/libsmpeg/receipt Sun Jan 23 15:39:38 2011 +0000 @@ -1,27 +1,26 @@ # SliTaz package receipt. PACKAGE="libsmpeg" -SOURCE="smpeg" VERSION="389" CATEGORY="development" SHORT_DESC="Mpeg decoding library" MAINTAINER="claudinei@slitaz.org" WEB_SITE="http://icculus.org/smpeg" DEPENDS="libsdl gcc-lib-base" -BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion" - +BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar" # Rules to configure and make the package. compile_rules() { - [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION - TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz + [ -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 xzf $TARBALL + tar xf $TARBALL else - svn co svn://svn.icculus.org/$SOURCE/trunk \ - -r $VERSION $SOURCE-$VERSION && - tar czf $TARBALL $SOURCE-$VERSION + 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