wok-4.x rev 3338
Add: libsmpeg* (svn rev 380)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 01:45:50 2009 +0000 (2009-06-11) |
parents | 6842cfbcc0ca |
children | 61d9770b71c0 |
files | libsmpeg-dev/receipt libsmpeg/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsmpeg-dev/receipt Thu Jun 11 01:45:50 2009 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsmpeg-dev" 1.7 +SOURCE="smpeg" 1.8 +VERSION="380" 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="libSDL" 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 + cp $_pkg/usr/bin/smpeg-config $fs/usr/bin 1.23 + chmod +x $fs/usr/bin/smpeg-config 1.24 + cp -a $_pkg/usr/include/smpeg $fs/usr/include 1.25 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.26 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.27 +} 1.28 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libsmpeg/receipt Thu Jun 11 01:45:50 2009 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libsmpeg" 2.7 +SOURCE="smpeg" 2.8 +VERSION="380" 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" 2.14 +BUILD_DEPENDS="libSDL libSDL-dev gtk+-dev autoconf automake m4 subversion" 2.15 + 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + [ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION 2.21 + svn co svn://svn.icculus.org/$SOURCE/trunk \ 2.22 + -r $VERSION $SOURCE-$VERSION 2.23 + cd $src 2.24 + chmod +x install-sh 2.25 + ./autogen.sh 2.26 + ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && 2.27 + make && 2.28 + make DESTDIR=$PWD/_pkg install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr/lib 2.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.36 + 2.37 +}