wok annotate xine-plugin/receipt @ rev 2295

tazndis: include also the GTK box
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 22 22:41:59 2009 +0100 (2009-02-22)
parents
children ef0c5b97a33e
rev   line source
pascal@1653 1 # SliTaz package receipt.
pascal@1653 2
pascal@1653 3 PACKAGE="xine-plugin"
pascal@1653 4 VERSION="1.0.2"
pascal@1653 5 CATEGORY="multimedia"
pascal@1653 6 SHORT_DESC="Xine media player firefox plugin."
pascal@1653 7 MAINTAINER="pankso@slitaz.org"
pascal@1653 8 DEPENDS="xine-lib firefox"
pascal@1653 9 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
pascal@1653 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1653 11 WEB_SITE="http://www.xinehq.de/"
pascal@1653 12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pascal@1653 13
pascal@1653 14 # Rules to configure and make the package.
pascal@1653 15 compile_rules()
pascal@1653 16 {
pascal@1653 17 cd $src
pascal@1653 18 ./configure --prefix=/usr \
pascal@1653 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1653 20 make &&
pascal@1653 21 make DESTDIR=$PWD/_pkg install
pascal@1653 22 }
pascal@1653 23
pascal@1653 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1653 25 genpkg_rules()
pascal@1653 26 {
pascal@1653 27 mkdir -p $fs/usr/share/xine
pascal@1653 28 cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
pascal@1653 29 strip $fs/usr/share/xine/xineplugin.so
pascal@1653 30 }
pascal@1653 31
pascal@1653 32 # Pre and post install commands for Tazpkg.
pascal@1653 33 post_install()
pascal@1653 34 {
pascal@1653 35 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
pascal@1653 36 }