wok annotate libplayer/receipt @ rev 9181

Up: tazwok 4.2.7 slitaz-boot-scripts 4.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 09 03:11:41 2011 +0100 (2011-03-09)
parents 252a378d28c1
children f5809be05c82
rev   line source
pankso@4765 1 # SliTaz package receipt.
pankso@4765 2
pankso@4765 3 PACKAGE="libplayer"
pankso@4765 4 VERSION="1.0.0"
jozee@4783 5 CATEGORY="multimedia"
pankso@4765 6 SHORT_DESC="A multimedia A/V abstraction layer API."
pankso@4765 7 DEPENDS="xine-lib"
pascal@9110 8 BUILD_DEPENDS="xine-lib-dev python-dev"
jozee@4961 9 SUGGESTED="mplayer-svn"
pankso@4765 10 MAINTAINER="pankso@slitaz.org"
pankso@4765 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4765 12 WEB_SITE="http://libplayer.geexbox.org/"
pankso@4765 13 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
pankso@4765 14
pankso@4765 15 # Rules to configure and make the package.
pankso@4765 16 compile_rules()
pankso@4765 17 {
pankso@4765 18 cd $src
pascal@5162 19 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
pankso@4765 20 ./configure \
pankso@4765 21 --prefix=/usr \
pankso@4765 22 --enable-binding-python \
pankso@4765 23 --enable-mplayer \
pankso@4765 24 --disable-gstreamer \
pankso@4765 25 --disable-vlc &&
pankso@4765 26 make && make DESTDIR=$PWD/_pkg install
pankso@4765 27 }
pankso@4765 28
pankso@4765 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4765 30 genpkg_rules()
pankso@4765 31 {
pankso@4765 32 mkdir -p $fs/usr/lib
pankso@4765 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4765 34 cp -a $_pkg/usr/bin $fs/usr
pankso@4765 35 }