blob: 0569c5898906d353a868a79a89f150afd3204817 (
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 # Depends on: jre, firefox
5
6 name=firefox-java-plugin
7 version=1.7.0
8 release=2
9 source=()
10
11 build(){
12 plugins=(
13 # jre
14 /usr/lib/java/lib/amd64/libnpjp2.so \
15 # jdk
16 /usr/lib/java/jre/lib/amd64/libnpjp2.so
17 )
18
19 for p in ${plugins[@]}; do
20 test -f $p && break
21 done
22
23 if [ ! -f $p ]; then
24 echo "Java Runtime Environment not found!"
25 return
26 fi
27
28 mkdir -p $PKG/usr/lib/mozilla/plugins
29 ln -s $p $PKG/usr/lib/mozilla/plugins
30 }
|