wok-next view libplayer/receipt @ rev 8139

Up: aufs-utils to 20110124.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 24 22:49:13 2011 +0000 (2011-01-24)
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 }