wok rev 3127

Add mplayerplug-in for browsers
author Rohit Joshi <jozee@slitaz.org>
date Tue May 19 19:53:12 2009 +0000 (2009-05-19)
parents 5f4377216419
children 30163e8a5829
files mplayerplug-in/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mplayerplug-in/receipt	Tue May 19 19:53:12 2009 +0000
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +
     1.7 +PACKAGE="mplayerplug-in"
     1.8 +VERSION="3.55"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="a browser plugin that uses mplayer to play videos from websites"
    1.11 +MAINTAINER="jozee@slitaz.org"
    1.12 +DEPENDS="mplayer xorg-libXpm gtk+"
    1.13 +BUILD_DEPENDS="mplayer gtk+-dev xorg-libXpm-dev firefox-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://mplayerplug-in.sourceforge.net/" 
    1.16 +WGET_URL="http://downloads.sourceforge.net/mplayerplug-in/$TARBALL"
    1.17 +FIREFOX_VER="3.0.10"
    1.18 +
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr --sysconfdir=/etc \
    1.25 +		--enable-gtk2 \
    1.26 +		--enable-wmp \
    1.27 +		--enable-qt \
    1.28 +		--enable-rm \
    1.29 +		--enable-dvx \
    1.30 +		MOZILLA_HOME="/usr/lib/firefox-$FIREFOX_VER" \
    1.31 +		GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER/stable" &&		
    1.32 +	make
    1.33 +	make DESTDIR=$PWD/_pkg install
    1.34 +}
    1.35 +
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/lib 
    1.39 +    cp -a $_pkg/etc $fs
    1.40 +    cp -a $_pkg/usr/lib/mozilla $fs/usr/lib
    1.41 +       
    1.42 +}