# HG changeset patch # User Pascal Bellard # Date 1226151835 0 # Node ID 4f9262ca5bc41b9295a7ce96c0a59deee11b6a31 # Parent fe7a7806934dc36d4d3ad7f0fe6df91e0222fb32 Add xine-plugin diff -r fe7a7806934d -r 4f9262ca5bc4 xine-plugin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xine-plugin/receipt Sat Nov 08 13:43:55 2008 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="xine-plugin" +VERSION="1.0.2" +CATEGORY="multimedia" +SHORT_DESC="Xine media player firefox plugin." +MAINTAINER="pankso@slitaz.org" +DEPENDS="xine-lib firefox" +BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.xinehq.de/" +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/xine + cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine + strip $fs/usr/share/xine/xineplugin.so +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/ +}