32 lines
690 B
Plaintext
32 lines
690 B
Plaintext
# Description: Java plugin for Mozilla Firefox
|
|
# URL: http://java.sun.com
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
|
|
# Depends on: jre, firefox
|
|
|
|
name=firefox-java-plugin
|
|
version=1.6.0
|
|
release=1
|
|
source=()
|
|
|
|
build(){
|
|
plugins=(
|
|
# jre
|
|
/usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so \
|
|
# jdk
|
|
/usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
|
|
)
|
|
|
|
for p in ${plugins[@]}; do
|
|
test -f $p && break
|
|
done
|
|
|
|
if [ ! -f $p ]; then
|
|
echo "Java Runtime Environment not found!"
|
|
return
|
|
fi
|
|
|
|
mkdir -p $PKG/usr/lib/firefox/plugins
|
|
ln -s $p $PKG/usr/lib/firefox/plugins
|
|
}
|