wok view libplayer/receipt @ rev 20774

updated ccid again (1.4.8 -> 1.4.30)
author Hans-G?nter Theisgen
date Wed Feb 13 17:05:23 2019 +0100 (17 months ago)
parents 8d6f480bf664
children 08c52f1e528e
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 }