add Added Files:
[hdw-repos/packages.git] / demian / java / java
1 # HDW Linux java
2 #
3 # [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
4 # [I] Java Runtime and Development Environment
5 # [V] 1.3.1
6 # [S] 3 9
7 # [D] j2sdk-1.3.1.bin descargar-desde-un-mirror
8
9 srcdir="."
10 build_main()
11 {
12     cp -v $archdir/j2sdk-1.3.1.bin .
13     pwd
14     patch -Nfp0 < $confdir/java-bin.patch
15     bash j2sdk-1.3.1.bin
16     mv jsdk* /opt/java
17     echo "PATH=$PATH:/opt/java/bin" >> /etc/profile.d/java
18     echo "/opt/java/lib" >> /etc/ld.so.conf
19 }
20     
21
22 # Notes: to download this package u need to accept Sun's license.
23 # This is a shell script with sources in the same file.
24 # Find a way to make this easier. (No interactive install)
25