2006-02-23 15:26:10 +00:00
|
|
|
# Description: Embedded video player for Firefox
|
|
|
|
# URL: http://mplayerplug-in.sourceforge.net
|
|
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Packager:
|
|
|
|
# Depends on: mplayer, firefox
|
|
|
|
|
|
|
|
name=mplayerplug-in
|
2006-03-16 13:42:37 +00:00
|
|
|
version=3.21
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
2006-03-16 13:42:37 +00:00
|
|
|
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/gecko-sdk-i686-pc-linux-gnu-1.8b1.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name
|
2006-03-16 13:42:37 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-gecko-sdk=$SRC/gecko-sdk \
|
|
|
|
--enable-gtk2 \
|
|
|
|
--disable-nls
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
2006-03-16 13:42:37 +00:00
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
mkdir -p $PKG/usr/lib/firefox/plugins
|
|
|
|
mv $SRC/$name/mplayerplug-in*.so $PKG/usr/lib/firefox/plugins
|
|
|
|
mkdir -p $PKG/usr/lib/firefox/components
|
|
|
|
mv $SRC/$name/mplayerplug-in*.xpt $PKG/usr/lib/firefox/components
|
|
|
|
}
|