wok-current view libplayer/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
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 }