wok-current view libplayer/receipt @ rev 11418

Add: sagan, sagan-pgsql, sagan-mysql, sagan-rules
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 14 02:30:44 2011 +0100 (2011-12-14)
parents f5809be05c82
children 8d6f480bf664
line source
1 # SliTaz package receipt.
3 PACKAGE="libplayer"
4 VERSION="2.0.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A multimedia A/V abstraction layer API."
7 DEPENDS="xine-lib mplayer"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libplayer.geexbox.org/"
11 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
18 ./configure --prefix=/usr\
19 --enable-mplayer \
20 --disable-gstreamer \
21 --disable-vlc &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 }