wok annotate libplayer/receipt @ rev 17155

tup: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 14 09:47:19 2014 +0200 (2014-09-14)
parents 8d6f480bf664
children 08c52f1e528e
rev   line source
pankso@4765 1 # SliTaz package receipt.
pankso@4765 2
pankso@4765 3 PACKAGE="libplayer"
gokhlayeh@9228 4 VERSION="2.0.1"
jozee@4783 5 CATEGORY="multimedia"
pankso@4765 6 SHORT_DESC="A multimedia A/V abstraction layer API."
pankso@4765 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
pankso@4765 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4765 10 WEB_SITE="http://libplayer.geexbox.org/"
pankso@4765 11 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL"
pankso@16168 12 HOST_ARCH="i486 arm"
pankso@16168 13
pankso@16168 14 DEPENDS="xine-lib"
pankso@16168 15 BUILD_DEPENDS="xine-lib-dev"
pankso@16168 16
pankso@16168 17 # Handle cross compilation
pankso@16168 18 case "$ARCH" in
pankso@16168 19 arm*) ARCH_ARGS="--cross-compile" ;;
pankso@16168 20 esac
pankso@4765 21
pankso@4765 22 # Rules to configure and make the package.
pankso@4765 23 compile_rules()
pankso@4765 24 {
pascal@5162 25 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
pankso@16168 26 ./configure \
pankso@16168 27 --prefix=/usr\
pankso@4765 28 --enable-mplayer \
pankso@4765 29 --disable-gstreamer \
pankso@16168 30 --disable-vlc ${ARCH_ARGS} &&
gokhlayeh@9228 31 make && make install
pankso@4765 32 }
pankso@4765 33
pankso@4765 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4765 35 genpkg_rules()
pankso@4765 36 {
pankso@4765 37 mkdir -p $fs/usr/lib
pascal@15482 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15482 39 cp -a $install/usr/bin $fs/usr
pankso@4765 40 }