[Lunar-commits] <moonbase> j2sdk: Adding this BUILD.x86_64 since I need a different

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Thu Apr 3 18:39:04 CEST 2008


commit aea1c1ffb4f4f805dbdc330908ecddeb76828d08
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Thu Apr 3 12:39:04 2008 -0400

    j2sdk: Adding this BUILD.x86_64 since I need a different
    symlink path.
---
 compilers/j2sdk/BUILD.x86_64 |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/compilers/j2sdk/BUILD.x86_64 b/compilers/j2sdk/BUILD.x86_64
new file mode 100644
index 0000000..7fb1ae0
--- /dev/null
+++ b/compilers/j2sdk/BUILD.x86_64
@@ -0,0 +1,21 @@
+(
+
+  prepare_install &&
+  cp -r $SOURCE_DIRECTORY /usr/lib &&
+  chmod 0755 /usr/lib/j2sdk$VERSION &&
+  for FILE in `/bin/ls /usr/lib/$MODULE$VERSION/bin`; do
+    if [ -f "/usr/lib/$MODULE$VERSION/bin/$FILE" -a ! -e "/usr/bin/$FILE" ]; then
+      ln -sf "/usr/lib/$MODULE$VERSION/bin/$FILE" "/usr/bin/$FILE"
+    fi
+  done
+
+  # Prune old.libraries
+  rm -rf /usr/lib/$MODULE$VERSION/old.libraries &&
+
+  # Do I smell mozilla or firefox?
+
+  mkdir -p /opt/lunar/plugins &&
+  ln -sf /usr/lib/$MODULE$VERSION/jre/plugin/amd64/mozilla/libjavaplugin_oji.so \
+        /opt/lunar/plugins/libjavaplugin_oji.so
+
+) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list