wok view libplayer/receipt @ rev 22891

updated gtest (1.7.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Sun Feb 23 08:12:43 2020 +0100 (2020-02-23)
parents 68f00cd672fd
children ede1d184d5c5
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="https://libplayer.geexbox.org/"
11 WGET_URL="https://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 }