wok rev 1653

Add xine-plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:43:55 2008 +0000 (2008-11-08)
parents fe7a7806934d
children 3b3cedd6c979
files xine-plugin/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xine-plugin/receipt	Sat Nov 08 13:43:55 2008 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xine-plugin"
     1.7 +VERSION="1.0.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Xine media player firefox plugin."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="xine-lib firefox"
    1.12 +BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.xinehq.de/"
    1.15 +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share/xine
    1.31 +	cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
    1.32 +	strip $fs/usr/share/xine/xineplugin.so
    1.33 +}
    1.34 +
    1.35 +# Pre and post install commands for Tazpkg.
    1.36 +post_install()
    1.37 +{
    1.38 +	ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
    1.39 +}