blob: ce39b68ca8c1873bb4cff02de010ed36566a9b71 (
plain)
1 # Description: Embedded video player for Firefox
2 # URL: http://mplayerplug-in.sourceforge.net
3 # Maintainer: sten, nick dot steeves at shaw dot ca
4 # Packager:
5 # Depends on: mplayer, firefox
6
7 name=mplayerplug-in
8 version=3.25
9 release=1
10 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
11 http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/gecko-sdk-i686-pc-linux-gnu-1.8b1.tar.gz)
12
13 build () {
14 cd $name
15 ./configure --prefix=/usr \
16 --with-gecko-sdk=$SRC/gecko-sdk \
17 --enable-gtk2 \
18 --disable-nls
19 make
20 mkdir -p $PKG/usr/lib/firefox/plugins
21 mv $SRC/$name/mplayerplug-in*.so $PKG/usr/lib/firefox/plugins
22 mkdir -p $PKG/usr/lib/firefox/components
23 mv $SRC/$name/mplayerplug-in*.xpt $PKG/usr/lib/firefox/components
24 }
|