wok rev 4765

Add: libplayer (multimedia A/V abstraction layer API)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 10 23:10:04 2010 +0100 (2010-01-10)
parents f45ca0153dd5
children f73a2c522a7b
files libplayer-dev/receipt libplayer-python/receipt libplayer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libplayer-dev/receipt	Sun Jan 10 23:10:04 2010 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libplayer-dev"
     1.7 +VERSION="1.0.0"
     1.8 +CATEGORY="multimrdia"
     1.9 +SHORT_DESC="A tiny media scanner API. "
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="libplayer"
    1.12 +DEPENDS="libplayer"
    1.13 +WEB_SITE="http://libplayer.geexbox.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/bin $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libplayer-python/receipt	Sun Jan 10 23:10:04 2010 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libplayer-python"
     2.7 +VERSION="1.0.0"
     2.8 +CATEGORY="multimrdia"
     2.9 +SHORT_DESC="Python binding for libplayer. "
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WANTED="libplayer"
    2.12 +DEPENDS="libplayer python"
    2.13 +WEB_SITE="http://libplayer.geexbox.org/"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib
    2.19 +	cp -a $_pkg/usr/lib/python* $fs/usr/lib
    2.20 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libplayer/receipt	Sun Jan 10 23:10:04 2010 +0100
     3.3 @@ -0,0 +1,33 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libplayer"
     3.7 +VERSION="1.0.0"
     3.8 +CATEGORY="multimrdia"
     3.9 +SHORT_DESC="A multimedia A/V abstraction layer API."
    3.10 +DEPENDS="xine-lib"
    3.11 +BUILD_DEPENDS="xine-lib-dev"
    3.12 +MAINTAINER="pankso@slitaz.org"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 +WEB_SITE="http://libplayer.geexbox.org/"
    3.15 +WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
    3.16 +
    3.17 +# Rules to configure and make the package.
    3.18 +compile_rules()
    3.19 +{
    3.20 +	cd $src
    3.21 +	./configure \
    3.22 +		--prefix=/usr \
    3.23 +		--enable-binding-python \
    3.24 +		--enable-mplayer \
    3.25 +		--disable-gstreamer \
    3.26 +		--disable-vlc &&
    3.27 +	make && make DESTDIR=$PWD/_pkg install
    3.28 +}
    3.29 +
    3.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.31 +genpkg_rules()
    3.32 +{
    3.33 +	mkdir -p $fs/usr/lib
    3.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.35 +	cp -a $_pkg/usr/bin $fs/usr
    3.36 +}