blob: f875bb3748f878d6a82fd6d04706360aeaab1e89 (
plain)
1 # Description: Java plugin for Mozilla Firefox
2 # URL: http://java.sun.com
3 # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
4 # Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
5 # Depends on: jre, firefox
6
7 name=firefox-java-plugin
8 version=1.6.0
9 release=1
10 source=()
11
12 build(){
13 plugins=(
14 # jre
15 /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so \
16 # jdk
17 /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
18 )
19
20 for p in ${plugins[@]}; do
21 test -f $p && break
22 done
23
24 if [ ! -f $p ]; then
25 echo "Java Runtime Environment not found!"
26 return
27 fi
28
29 mkdir -p $PKG/usr/lib/firefox/plugins
30 ln -s $p $PKG/usr/lib/firefox/plugins
31 }
|