wok annotate gxine/receipt @ rev 3121

Add gxine (GTK gui for xine)
author Rohit Joshi <jozee@slitaz.org>
date Mon May 18 19:09:23 2009 +0000 (2009-05-18)
parents
children 061284ddd265
rev   line source
jozee@3121 1 # SliTaz package receipt.
jozee@3121 2
jozee@3121 3 PACKAGE="gxine"
jozee@3121 4 VERSION="0.5.904"
jozee@3121 5 CATEGORY="multimedia"
jozee@3121 6 SHORT_DESC="GTK+ Xine media player user interface."
jozee@3121 7 MAINTAINER="jozee@slitaz.org"
jozee@3121 8 DEPENDS="xine-lib libvorbis gtk+"
jozee@3121 9 BUILD_DEPENDS="firefox-dev xine-lib xine-lib-dev xorg-dev gtk+-dev hal dbus
jozee@3121 10 xorg-libXinerama xorg-libXext xorg-libX11 libiconv-dev libiconv"
jozee@3121 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@3121 12 WEB_SITE="http://www.xine-project.org"
jozee@3121 13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
jozee@3121 14
jozee@3121 15 # Rules to configure and make the package.
jozee@3121 16
jozee@3121 17 compile_rules()
jozee@3121 18 {
jozee@3121 19 cd $src
jozee@3121 20 export NSPR_LIBS="/usr/include/firefox"
jozee@3121 21 ./configure --prefix=/usr \
jozee@3121 22 --mandir=/usr/share/man \
jozee@3121 23 --sysconfdir=/etc \
jozee@3121 24 --with-spidermonkey=/usr/include/js \
jozee@3121 25 --without-browser-plugin \
jozee@3121 26 --disable-lirc \
jozee@3121 27 --disable-integration-wizard \
jozee@3121 28 $CONFIGURE_ARGS &&
jozee@3121 29 make &&
jozee@3121 30 make DESTDIR=$PWD/_pkg install
jozee@3121 31 }
jozee@3121 32
jozee@3121 33 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3121 34 genpkg_rules()
jozee@3121 35 {
jozee@3121 36 mkdir -p $fs/usr/share $fs/etc $fs/usr/lib
jozee@3121 37 cp -a $_pkg/usr/bin $fs/usr
jozee@3121 38 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
jozee@3121 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@3121 40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
jozee@3121 41 cp -a $_pkg/etc $fs
jozee@3121 42 }
jozee@3121 43