wok-current view libplayer/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents e86c02421165
children 68f00cd672fd
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 LICENSE="LGPL2.1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://libplayer.geexbox.org/"
12 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
19 ./configure --prefix=/usr\
20 --enable-mplayer \
21 --disable-gstreamer \
22 --disable-vlc &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 }