wok-next annotate xine-plugin/receipt @ rev 15253

valgrind: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 19:22:50 2013 +0000 (2013-09-23)
parents 4ac05cb6fb16
children 21df9c566947
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@15000 8 LICENSE="GPL2"
pascal@1653 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1653 10 WEB_SITE="http://www.xinehq.de/"
pascal@1653 11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pascal@1653 12
pascal@15000 13 DEPENDS="xine-lib firefox"
pascal@15000 14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
pascal@15000 15
pascal@1653 16 # Rules to configure and make the package.
pascal@1653 17 compile_rules()
pascal@1653 18 {
pascal@1653 19 cd $src
pascal@1653 20 ./configure --prefix=/usr \
pascal@1653 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1653 22 make &&
pascal@15000 23 make DESTDIR=$DESTDIR install
pascal@1653 24 }
pascal@1653 25
pascal@1653 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1653 27 genpkg_rules()
pascal@1653 28 {
pascal@1653 29 mkdir -p $fs/usr/share/xine
pascal@15000 30 cp -a $install/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
pascal@1653 31 }
pascal@1653 32
pascal@1653 33 # Pre and post install commands for Tazpkg.
pascal@1653 34 post_install()
pascal@1653 35 {
pascal@1653 36 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
pascal@11018 37 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/mozilla/plugins/
pascal@1653 38 }