wok-stable annotate mplayerplug-in/receipt @ rev 3355
dhcp6: fix SOURCE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 11 17:59:39 2009 +0200 (2009-06-11) |
parents | |
children | 0f072f890052 |
rev | line source |
---|---|
jozee@3127 | 1 # SliTaz package receipt. |
jozee@3127 | 2 |
jozee@3127 | 3 |
jozee@3127 | 4 PACKAGE="mplayerplug-in" |
jozee@3127 | 5 VERSION="3.55" |
jozee@3127 | 6 CATEGORY="multimedia" |
jozee@3127 | 7 SHORT_DESC="a browser plugin that uses mplayer to play videos from websites" |
jozee@3127 | 8 MAINTAINER="jozee@slitaz.org" |
jozee@3127 | 9 DEPENDS="mplayer xorg-libXpm gtk+" |
jozee@3127 | 10 BUILD_DEPENDS="mplayer gtk+-dev xorg-libXpm-dev firefox-dev" |
jozee@3127 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3127 | 12 WEB_SITE="http://mplayerplug-in.sourceforge.net/" |
jozee@3127 | 13 WGET_URL="http://downloads.sourceforge.net/mplayerplug-in/$TARBALL" |
jozee@3127 | 14 FIREFOX_VER="3.0.10" |
jozee@3127 | 15 |
jozee@3127 | 16 |
jozee@3127 | 17 # Rules to configure and make the package. |
jozee@3127 | 18 compile_rules() |
jozee@3127 | 19 { |
jozee@3127 | 20 cd $src |
jozee@3127 | 21 ./configure --prefix=/usr --sysconfdir=/etc \ |
jozee@3127 | 22 --enable-gtk2 \ |
jozee@3127 | 23 --enable-wmp \ |
jozee@3127 | 24 --enable-qt \ |
jozee@3127 | 25 --enable-rm \ |
jozee@3127 | 26 --enable-dvx \ |
jozee@3127 | 27 MOZILLA_HOME="/usr/lib/firefox-$FIREFOX_VER" \ |
jozee@3127 | 28 GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER/stable" && |
jozee@3127 | 29 make |
jozee@3127 | 30 make DESTDIR=$PWD/_pkg install |
jozee@3127 | 31 } |
jozee@3127 | 32 |
jozee@3127 | 33 genpkg_rules() |
jozee@3127 | 34 { |
jozee@3127 | 35 mkdir -p $fs/usr/lib |
jozee@3127 | 36 cp -a $_pkg/etc $fs |
jozee@3127 | 37 cp -a $_pkg/usr/lib/mozilla $fs/usr/lib |
jozee@3127 | 38 |
jozee@3127 | 39 } |