wok-next annotate xine-ui/receipt @ rev 12159

Up: tazlito (4.6)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 17 16:57:56 2012 +0100 (2012-03-17)
parents af9a1b47948c
children 044f7a53c852
rev   line source
pankso@33 1 # SliTaz package receipt.
pankso@33 2
pankso@33 3 PACKAGE="xine-ui"
pascal@11627 4 VERSION="0.99.6"
pankso@206 5 CATEGORY="multimedia"
pankso@33 6 SHORT_DESC="Xine media player user interface."
pankso@33 7 MAINTAINER="pankso@slitaz.org"
pankso@4519 8 DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv openssl libpng \
pankso@4519 9 ncurses readline xorg-libXft xorg-libXxf86vm"
pankso@4519 10 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev xorg-libXtst-dev xorg-libXv-dev \
pascal@11627 11 xorg-inputproto xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
pascal@11627 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@2978 13 WEB_SITE="http://www.xine-project.org/"
pankso@33 14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pankso@33 15
pankso@33 16 # Rules to configure and make the package.
pankso@33 17 compile_rules()
pankso@33 18 {
pankso@33 19 cd $src
pankso@4519 20 ./configure \
pankso@4519 21 --prefix=/usr \
pankso@4519 22 --mandir=/usr/share/man \
pankso@4519 23 --without-curl \
pascal@11627 24 --disable-lirc \
pankso@4519 25 $CONFIGURE_ARGS &&
pascal@1516 26 make &&
pankso@33 27 make DESTDIR=$PWD/_pkg install
pankso@33 28 }
pankso@33 29
pankso@33 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 31 genpkg_rules()
pankso@33 32 {
pascal@11623 33 mkdir -p $fs/usr/share/applications
pascal@11623 34 cp -a $stuff/xine-ui.desktop $fs/usr/share/applications
pankso@33 35 cp -a $_pkg/usr/bin $fs/usr
pankso@33 36 cp -a $_pkg/usr/share/xine $fs/usr/share
pankso@4519 37
jozee@2977 38 # Remove the sample default.avi
jozee@2977 39 rm $fs/usr/share/xine/visuals/*.avi
pankso@33 40 }