wok-4.x view libplayer/receipt @ rev 6517

Up: mpfr, mpfr-dev to 3.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 14:39:44 2010 +0000 (2010-10-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 }