29 lines
865 B
Plaintext
29 lines
865 B
Plaintext
# Description: Embedded video player for Firefox
|
|
# URL: http://mplayerplug-in.sourceforge.net
|
|
# Maintainer: Simon Gloßner, viper at hometux dot de
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: mplayer, firefox, gettext
|
|
|
|
name=mplayerplug-in
|
|
version=3.45
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
|
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/gecko-sdk-i686-pc-linux-gnu-1.8b1.tar.gz)
|
|
|
|
build () {
|
|
cd $name
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-gecko-sdk=$SRC/gecko-sdk \
|
|
--enable-gtk2 \
|
|
--disable-nls
|
|
make
|
|
|
|
mkdir -p $PKG/usr/lib/firefox/plugins
|
|
mkdir -p $PKG/usr/lib/firefox/components
|
|
|
|
cp $SRC/$name/mplayerplug-in*.so $PKG/usr/lib/firefox/plugins
|
|
cp $SRC/$name/mplayerplug-in*.xpt $PKG/usr/lib/firefox/components
|
|
}
|