wok-next view libplayer/receipt @ rev 15597
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 11:43:50 2013 +0000 (2013-12-05) |
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 }