wok-current view xine-plugin/receipt @ rev 14485
gst-python-dev: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 02 22:51:54 2013 +0200 (2013-05-02) |
parents | 02bbaa9d12ba |
children | 380ffe05937a |
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 DEPENDS="xine-lib firefox"
9 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xinehq.de/"
12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/xine
28 cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
29 }
31 # Pre and post install commands for Tazpkg.
32 post_install()
33 {
34 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
35 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/mozilla/plugins/
36 }