wok-current view libplayer/receipt @ rev 9223
Fix icedtea6; handle multi-sources using some new receipts
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 11 17:58:14 2011 +0100 (2011-03-11) |
parents | b04ef0c092dc |
children | e86c02421165 |
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 python-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 -j1 && make -j1 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 }