X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-repos%2Fpackages.git;a=blobdiff_plain;f=demian%2Fjava%2Fjava;fp=demian%2Fjava%2Fjava;h=b01d969733cfd32af5b2a0d18f200508f005730f;hp=0000000000000000000000000000000000000000;hb=f0cf5d9bdce8c606167c114b5ba06792a200b957;hpb=19e8a11f5a1789f804a1b0cb43b1d0c34bf5916c diff --git a/demian/java/java b/demian/java/java new file mode 100755 index 0000000..b01d969 --- /dev/null +++ b/demian/java/java @@ -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) +