From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../openjdk-langtools-native_0.0+jdk7-b31.bb | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 recipes/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb (limited to 'recipes/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb') diff --git a/recipes/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb b/recipes/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb new file mode 100644 index 0000000000..abeea96a0a --- /dev/null +++ b/recipes/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "Java Language tools (sun-javac, javah, javap, javadoc and apt) from OpenJDK" +HOMEPAGE = "http://http://openjdk.java.net/groups/compiler" +LICENSE = "GPL" + +PR = "r3" + +DEPENDS = "classpath-native fastjar-native ecj-initial virtual/java-native" + +S = "${WORKDIR}/icepick-0.0+hg20080118" + +SRC_URI = "\ + http://jalimo.evolvis.org/repository/sources/icepick-0.0+hg20080118.tar.bz2;md5sum=ce7b1827e6f4cbe73b9ffa90b0d45a6a \ + http://jalimo.evolvis.org/repository/sources/openjdk-langtools-jdk7-b31.tar.bz2;md5sum=670931f67b2e4ac46c6e0cd15418f2fa \ + file://${PV}-build-fix.patch;patch=1 \ + " + +inherit java autotools native + +EXTRA_OECONF = "\ + --with-javac=${STAGING_BINDIR}/ecj-initial \ + --with-vm=${STAGING_BINDIR}/java \ + --with-fastjar=${STAGING_BINDIR}/fastjar \ + --with-classpath=${STAGING_DATADIR}/classpath/glibj.zip \ + --with-langtools-src-dir=${WORKDIR}/openjdk-langtools-jdk7-b31 \ + " + +export JAVAC_OPTS="-bootclasspath ${STAGING_DATADIR_JAVA}/share/classpath/glibj.zip -source 5.0" + +do_stage() { + # Do install step manually to fine control installation names. + install -d ${bindir} + install -m 0755 tools/apt ${bindir} + install -m 0755 tools/javadoc ${bindir} + install -m 0755 tools/javah ${bindir} + install -m 0755 tools/javap ${bindir} + + # Provide javac as sun-javac to not clash with the binary of the same + # name in ecj-bootstrap-native. + # This way ecj-bootstrap-native and openjdk-langtools-native can coexist + # in staging dir. + install -m 0755 tools/javac ${bindir}/sun-javac + + install -d ${libdir} + install -m 0644 tools.jar ${libdir} +} -- cgit 1.2.3-korg