diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | bdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch) | |
tree | 1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /firefox-java-plugin | |
download | opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz |
create branch for 2.2
Diffstat (limited to 'firefox-java-plugin')
-rw-r--r-- | firefox-java-plugin/.md5sum | 0 | ||||
-rw-r--r-- | firefox-java-plugin/Pkgfile | 28 |
2 files changed, 28 insertions, 0 deletions
diff --git a/firefox-java-plugin/.md5sum b/firefox-java-plugin/.md5sum new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/firefox-java-plugin/.md5sum diff --git a/firefox-java-plugin/Pkgfile b/firefox-java-plugin/Pkgfile new file mode 100644 index 000000000..de711c362 --- /dev/null +++ b/firefox-java-plugin/Pkgfile @@ -0,0 +1,28 @@ +# Maintainer: Jay Dolan, jasonthomasdolan at yahoo dot com +# Description: Java plugin for Mozilla Firefox +# URL: http://java.sun.com +# Depends on: j2re,firefox + +name=firefox-java-plugin +version=1.5.0 +release=06 +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 +} |