add Added Files:
[hdw-repos/packages.git] / demian / java / java
diff --git a/demian/java/java b/demian/java/java
new file mode 100755 (executable)
index 0000000..b01d969
--- /dev/null
@@ -0,0 +1,25 @@
+# HDW Linux java
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] Java Runtime and Development Environment
+# [V] 1.3.1
+# [S] 3 9
+# [D] j2sdk-1.3.1.bin descargar-desde-un-mirror
+
+srcdir="."
+build_main()
+{
+    cp -v $archdir/j2sdk-1.3.1.bin .
+    pwd
+    patch -Nfp0 < $confdir/java-bin.patch
+    bash j2sdk-1.3.1.bin
+    mv jsdk* /opt/java
+    echo "PATH=$PATH:/opt/java/bin" >> /etc/profile.d/java
+    echo "/opt/java/lib" >> /etc/ld.so.conf
+}
+    
+
+# Notes: to download this package u need to accept Sun's license.
+# This is a shell script with sources in the same file.
+# Find a way to make this easier. (No interactive install)
+