wok view xine-plugin/receipt @ rev 15018

gecko-mediaplayer: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 14:49:02 2013 +0000 (2013-08-11)
parents 4ac05cb6fb16
children 21df9c566947
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-plugin"
4 VERSION="1.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player firefox plugin."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xinehq.de/"
11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
13 DEPENDS="xine-lib firefox"
14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/xine
30 cp -a $install/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
37 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/mozilla/plugins/
38 }