2006-03-26 23:19:40 +00:00
|
|
|
# Maintainer: Jay Dolan, jdolan at jdolan dot dyndns dot org
|
2006-02-23 15:26:10 +00:00
|
|
|
# Description: Java plugin for Mozilla Firefox
|
|
|
|
# URL: http://java.sun.com
|
2006-10-07 16:15:32 +00:00
|
|
|
# Depends on: jre,firefox
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=firefox-java-plugin
|
|
|
|
version=1.5.0
|
2006-10-26 19:14:57 +02:00
|
|
|
release=09
|
2006-02-23 15:26:10 +00:00
|
|
|
source=()
|
|
|
|
|
|
|
|
build(){
|
|
|
|
plugins=(
|
|
|
|
/usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so
|
|
|
|
/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
|
|
|
|
}
|