wok view xine-plugin/receipt @ rev 21304
updated libsdl2-net and libsdl2-net-dev (2.0.0 -> 2.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 18 14:46:00 2019 +0100 (2019-04-18) |
parents | 18af472aef2e |
children | 3105f866bc3e |
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 mkdir -p $DESTDIR/root/.mozilla/plugins
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/xine
31 find $install -name xineplugin.so -exec cp -a {} $fs/usr/share/xine \;
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
38 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
39 }