1 # Original Contributor: AqD <aquila.deus@gmail.com>
2 # Contributor: Ignacio Galmarino <igalmarino@gmail.com>
8 pkgdesc="JRockit is a high performace JVM"
9 url="http://www.oracle.com/technetwork/middleware/jrockit/"
10 depends=('alsa-lib' 'unixodbc' 'libxtst' 'gtk2')
11 replaces=('jdk' 'j2sdk' 'java-environment' 'j2re' 'java-runtime' 'jre')
12 provides=('jdk=6' 'j2sdk' 'java-environment' 'j2re' 'java-runtime' 'jre=6')
14 arch=('i686' 'x86_64')
15 install=${pkgname}.install
16 options=(!strip !zipman)
19 installer.bin::http://download.oracle.com/otn/bea/jrockit/jrockit-jdk1.6.0_26-R28.1.4-4.0.1-linux-x64.bin
26 '39b92834e1ed029425cd68706dd5f914'
27 '9212c2dbe1fefa6cea5163497661d704'
28 '83556c506af39ae5956a0713b9bd98cc'
29 'cb117b969a643a2ed7b9f10d5afba44c'
32 if test "$CARCH" == i686; then
33 source[0]=installer.bin::http://download.oracle.com/otn/bea/jrockit/jrockit-jdk1.6.0_26-R28.1.4-4.0.1-linux-ia32.bin
34 md5sums[0]=`md5sum installer.bin`
38 mkdir -p $startdir/pkg/opt/java
40 chmod 755 $startdir/src/installer.bin
41 $srcdir/installer.bin -mode=silent -silent_xml=$startdir/src/silent.xml || return 1
42 mkdir -p $pkgdir/usr/bin
44 for b in `ls -1 ../../opt/java/bin/`; do ln -sf "../../opt/java/bin/$b"; done;
46 install -D -m755 ${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh
47 install -D -m 644 $startdir/src/license.html $startdir/pkg/usr/share/licenses/$pkgname/license.html