1 DESCRIPTION = "Java Language tools (sun-javac, javah, javap, javadoc and apt) from OpenJDK"
2 HOMEPAGE = "http://http://openjdk.java.net/groups/compiler"
7 DEPENDS = "classpath-native fastjar-native ecj-initial virtual/java-native"
9 S = "${WORKDIR}/icepick-0.0+hg20080118"
12 http://jalimo.evolvis.org/repository/sources/icepick-0.0+hg20080118.tar.bz2;md5sum=ce7b1827e6f4cbe73b9ffa90b0d45a6a \
13 http://jalimo.evolvis.org/repository/sources/openjdk-langtools-jdk7-b31.tar.bz2;md5sum=670931f67b2e4ac46c6e0cd15418f2fa \
14 file://${PV}-build-fix.patch;patch=1 \
17 inherit java autotools native
20 --with-javac=${STAGING_BINDIR}/ecj-initial \
21 --with-vm=${STAGING_BINDIR}/java \
22 --with-fastjar=${STAGING_BINDIR}/fastjar \
23 --with-classpath=${STAGING_DATADIR}/classpath/glibj.zip \
24 --with-langtools-src-dir=${WORKDIR}/openjdk-langtools-jdk7-b31 \
27 export JAVAC_OPTS="-bootclasspath ${STAGING_DATADIR_JAVA}/share/classpath/glibj.zip -source 5.0"
30 # Do install step manually to fine control installation names.
32 install -m 0755 tools/apt ${bindir}
33 install -m 0755 tools/javadoc ${bindir}
34 install -m 0755 tools/javah ${bindir}
35 install -m 0755 tools/javap ${bindir}
37 # Provide javac as sun-javac to not clash with the binary of the same
38 # name in ecj-bootstrap-native.
39 # This way ecj-bootstrap-native and openjdk-langtools-native can coexist
41 install -m 0755 tools/javac ${bindir}/sun-javac
44 install -m 0644 tools.jar ${libdir}