wok-next view libplayer/receipt @ rev 19863
Up eudev, make-slitaz-icons, ntfs-3g, pcmanfm, polkit, slitaz-base-files, slitaz-boot-scripts, slitaz-icons-paper.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 01:34:11 2017 +0300 (2017-09-12) |
parents | 8d6f480bf664 |
children | c4e53a39395a |
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 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libplayer.geexbox.org/"
11 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xine-lib"
15 BUILD_DEPENDS="xine-lib-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm*) ARCH_ARGS="--cross-compile" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
26 ./configure \
27 --prefix=/usr\
28 --enable-mplayer \
29 --disable-gstreamer \
30 --disable-vlc ${ARCH_ARGS} &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }