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