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

Moritz Heiber moe at lunar-linux.org
Sat Feb 10 15:10:06 CET 2007


Author: moe
Date: 2007-02-10 15:10:06 +0100 (Sat, 10 Feb 2007)
New Revision: 23215

Added:
   moonbase/trunk/compilers/sun-jdk/
   moonbase/trunk/compilers/sun-jdk/BUILD
   moonbase/trunk/compilers/sun-jdk/CONFLICTS
   moonbase/trunk/compilers/sun-jdk/DETAILS
   moonbase/trunk/compilers/sun-jdk/PRE_BUILD
Modified:
   moonbase/trunk/aliases
   moonbase/trunk/compilers/j2sdk/CONFLICTS
   moonbase/trunk/compilers/sun-jre/CONFLICTS
Log:
* Added a new Java JDK module, sun-jdk
* Modified all Java related CONFLICTS accordingly
* Added a new alias JAVA_SDK



Modified: moonbase/trunk/aliases
===================================================================
--- moonbase/trunk/aliases	2007-02-10 12:49:06 UTC (rev 23214)
+++ moonbase/trunk/aliases	2007-02-10 14:10:06 UTC (rev 23215)
@@ -2,6 +2,7 @@
 %GECKO_RENDERER:firefox thunderbird mozilla
 %GHOSTSCRIPT:espgs ghostscript
 %GLUT:freeglut glut
+%JAVA_SDK:sun-jdk j2sdk
 %LISP:clisp gcl
 %MTA:esmtp postfix exim sendmail
 %PHP:php5 php php5-suhosin

Modified: moonbase/trunk/compilers/j2sdk/CONFLICTS
===================================================================
--- moonbase/trunk/compilers/j2sdk/CONFLICTS	2007-02-10 12:49:06 UTC (rev 23214)
+++ moonbase/trunk/compilers/j2sdk/CONFLICTS	2007-02-10 14:10:06 UTC (rev 23215)
@@ -1 +1,2 @@
-conflicts sun-jre
+conflicts sun-jre &&
+conflicts sun-jdk

Added: moonbase/trunk/compilers/sun-jdk/BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jdk/BUILD	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jdk/BUILD	2007-02-10 14:10:06 UTC (rev 23215)
@@ -0,0 +1,18 @@
+(
+
+  echo export PATH=\"/usr/lib/jdk"${VERSION}"/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/sun-jdk.rc &&
+  chmod +x $SOURCE &&
+  ./$SOURCE        &&
+
+  prepare_install  &&
+
+  cp -r $SOURCE_DIRECTORY/jdk${VERSION} /usr/lib/ &&
+
+  mkdir -p /opt/lunar/plugins &&
+  rm -f /opt/lunar/plugins/libjavaplugin_oji.so &&
+  ln -sf /usr/lib/jdk${VERSION}/jre/plugin/i386/ns7/libjavaplugin_oji.so \
+         /opt/lunar/plugins/ &&
+
+  install -m644 $SOURCE_DIRECTORY/sun-jdk.rc /etc/profile.d/
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/compilers/sun-jdk/CONFLICTS
===================================================================
--- moonbase/trunk/compilers/sun-jdk/CONFLICTS	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jdk/CONFLICTS	2007-02-10 14:10:06 UTC (rev 23215)
@@ -0,0 +1,2 @@
+conflicts j2sdk &&
+conflicts sun-jre

Added: moonbase/trunk/compilers/sun-jdk/DETAILS
===================================================================
--- moonbase/trunk/compilers/sun-jdk/DETAILS	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jdk/DETAILS	2007-02-10 14:10:06 UTC (rev 23215)
@@ -0,0 +1,17 @@
+          MODULE=sun-jdk
+         VERSION=1.5.0_11
+          SOURCE=jdk-1_5_0_11-linux-i586.bin
+      SOURCE_URL=http://download.lunar-linux.org/lunar/mirrors/
+      SOURCE_VFY=sha1:21f38159c8e3e1bb1c4fac46fed90dd5a7dd427a
+        WEB_SITE=http://java.sun.com
+         LICENSE="proprietary"
+         ENTERED=20070210
+         UPDATED=20070210
+           FUZZY=off
+       LDD_CHECK=off
+           SHORT="SUN java runtime environment"
+cat << EOF
+sun-jdk is a full features Java SDK including a Java runtime environment.
+EOF
+
+

Added: moonbase/trunk/compilers/sun-jdk/PRE_BUILD
===================================================================
--- moonbase/trunk/compilers/sun-jdk/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/compilers/sun-jdk/PRE_BUILD	2007-02-10 14:10:06 UTC (rev 23215)
@@ -0,0 +1,4 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY       &&
+cd $SOURCE_DIRECTORY                  &&
+cp $SOURCE_CACHE/$SOURCE $SOURCE_DIRECTORY/

Modified: moonbase/trunk/compilers/sun-jre/CONFLICTS
===================================================================
--- moonbase/trunk/compilers/sun-jre/CONFLICTS	2007-02-10 12:49:06 UTC (rev 23214)
+++ moonbase/trunk/compilers/sun-jre/CONFLICTS	2007-02-10 14:10:06 UTC (rev 23215)
@@ -1 +1,2 @@
-conflicts j2sdk
+conflicts j2sdk &&
+conflicts sun-jdk



More information about the Lunar-commits mailing list