[Lunar-commits] r22327 - in moonbase/trunk/compilers: . j2sdk sun-jre

Moritz Heiber moe at lunar-linux.org
Mon Nov 27 15:45:51 CET 2006


Author: moe
Date: 2006-11-27 15:45:51 +0100 (Mon, 27 Nov 2006)
New Revision: 22327

Added:
   moonbase/trunk/compilers/j2sdk/CONFLICTS
   moonbase/trunk/compilers/sun-jre/
   moonbase/trunk/compilers/sun-jre/BUILD
   moonbase/trunk/compilers/sun-jre/CONFLICTS
   moonbase/trunk/compilers/sun-jre/DETAILS
   moonbase/trunk/compilers/sun-jre/PRE_BUILD
Log:
Adding the sun-jre module. It correctly identifies itself as a proprietary
licensened module. The package cannot be downloaded from sun directly
(they implent some sort of weird time-based download restrictions) so
I put it into my homedir on doppio. Not sure wether thats the right place
yet, that can be changed easily. Anyhow, enjoy.



Added: moonbase/trunk/compilers/j2sdk/CONFLICTS
===================================================================
--- moonbase/trunk/compilers/j2sdk/CONFLICTS	                        (rev 0)
+++ moonbase/trunk/compilers/j2sdk/CONFLICTS	2006-11-27 14:45:51 UTC (rev 22327)
@@ -0,0 +1 @@
+conflicts sun-jre

Added: moonbase/trunk/compilers/sun-jre/BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jre/BUILD	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jre/BUILD	2006-11-27 14:45:51 UTC (rev 22327)
@@ -0,0 +1,27 @@
+(
+
+  chmod +x $SOURCE &&
+  ./$SOURCE        &&
+
+  prepare_install  &&
+
+  cp -a $SOURCE_DIRECTORY/jre${VERSION} /usr/lib/ &&
+
+  if [ ! -d /opt/lunar/plugins ] ; then
+    mkdir -p /opt/lunar/plugins;
+    ln -sf /usr/lib/jre${VERSION}/plugin/i386/ns7/libjavaplugin_oji.so \
+           /opt/lunar/plugins/;
+  elif [ ! -x /opt/lunar/plugins/libjavaplugin_oji.so ] ; then
+    ln -sf /usr/lib/jre${VERSION}/plugin/i386/ns7/libjavaplugin_oji.so \
+           /opt/lunar/plugins/;
+  else
+    rm -f /opt/lunar/plugins/libjavaplugin_oji.so;
+    ln -sf /usr/lib/jre${VERSION}/plugin/i386/ns7/libjavaplugin_oji.so \
+           /opt/lunar/plugins/;
+  fi &&
+
+  echo export PATH=\"/usr/lib/jre"${VERSION}"/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/sun-jre.rc &&
+
+  install -m644 $SOURCE_DIRECTORY/sun-jre.rc /etc/profile.d/
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/compilers/sun-jre/CONFLICTS
===================================================================
--- moonbase/trunk/compilers/sun-jre/CONFLICTS	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jre/CONFLICTS	2006-11-27 14:45:51 UTC (rev 22327)
@@ -0,0 +1 @@
+conflicts j2sdk

Added: moonbase/trunk/compilers/sun-jre/DETAILS
===================================================================
--- moonbase/trunk/compilers/sun-jre/DETAILS	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jre/DETAILS	2006-11-27 14:45:51 UTC (rev 22327)
@@ -0,0 +1,16 @@
+          MODULE=sun-jre
+         VERSION=1.5.0_09
+          SOURCE=jre-1_5_0_09-linux-i586.bin
+      SOURCE_URL=http://doppio.foo-projects.org/~moe/
+      SOURCE_VFY=sha1:cba95dc4107d8217ccc0dedf5ff7e337efc7f3c3
+        WEB_SITE=http://java.sun.com
+         LICENSE="proprietary"
+         ENTERED=20061113
+         UPDATED=20061113
+       LDD_CHECK=off
+           SHORT="SUN java runtime environment"
+cat << EOF
+sun-jre is only the run time environment, should be sufficient for most users
+EOF
+
+

Added: moonbase/trunk/compilers/sun-jre/PRE_BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jre/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jre/PRE_BUILD	2006-11-27 14:45:51 UTC (rev 22327)
@@ -0,0 +1,4 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY       &&
+cd $SOURCE_DIRECTORY                  &&
+cp $SOURCE_CACHE/$SOURCE $SOURCE_DIRECTORY/



More information about the Lunar-commits mailing list