--- /dev/null
+include classpath.inc
+
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango libxtst jikes-native zip-native"
+RDEPENDS_${PBN}-gtk = "${PBN}-common (>= ${PV})"
+RCONFLICTS_${PBN}-gtk = "${PBN}-minimal"
+
+EXTRA_OECONF = "--with-jikes"
+
+PACKAGES = "${PBN}-dev ${PBN}-doc ${PBN}-common ${PBN}-examples ${PBN}-tools ${PN}"
+
+FILES_${PBN}-doc = "${datadir}/info"
+FILES_${PBN}-dev = "${includedir}"
+FILES_${PN} = "${libdir}"
+FILES_${PBN}-common = "${datadir}/${PBN}/glibj.zip"
+FILES_${PBN}-examples = "${datadir}/${PBN}/examples"
+FILES_${PBN}-tools = "${datadir}/${PBN}/tools"
--- /dev/null
+include classpath.inc
+
+DEPENDS = "jikes-native zip-native"
+RDEPENDS_${PBN}-minimal = "${PBN}-common (>= ${PV})"
+RCONFLICTS_${PBN}-minimal = "${PBN}-gtk"
+
+EXTRA_OECONF = "--with-jikes --without-x --with-glibj --disable-gtk-peer --disable-alsa"
+
+PACKAGES = "${PBN}-dev ${PBN}-doc ${PBN}-common ${PBN}-examples ${PBN}-tools ${PN}"
+
+FILES_${PBN}-doc = "${datadir}/info"
+FILES_${PBN}-dev = "${includedir}"
+FILES_${PN} = "${libdir}"
+FILES_${PBN}-common = "${datadir}/${PBN}/glibj.zip"
+FILES_${PBN}-examples = "${datadir}/${PBN}/examples"
+FILES_${PBN}-tools = "${datadir}/${PBN}/tools"
--- /dev/null
+DESCRIPTION = "GNU Classpath standard Java libraries"
+HOMEPAGE = "http://www.gnu.org/software/classpath/"
+LICENSE = "Classpath"
+PRIORITY = "optional"
+SECTION = "libs"
+
+PBN = "classpath"
+
+SRC_URI = "${GNU_MIRROR}/classpath/${PBN}-${PV}.tar.gz \
+ file://disable-automake-checks.patch;patch=1 \
+ file://fix-endian-arm-floats.patch;patch=1"
+
+S = ${WORKDIR}/${PBN}-${PV}
+
+inherit autotools
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/classpath
+ install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/
+}
+
+do_install() {
+ autotools_do_install
+ mv ${D}${libdir}/security ${D}${libdir}/${PBN}
+}
+
+PROVIDES = "classpath"
+RPROVIDES = "classpath"
--- /dev/null
+--- classpath/native/fdlibm/ieeefp.h.orig 2006-04-14 22:33:09.000000000 -0400
++++ classpath/native/fdlibm/ieeefp.h 2006-04-14 22:41:46.000000000 -0400
+@@ -13,7 +13,7 @@
+ byte ordering was big or little endian depending upon the target.
+ Modern floating-point formats are naturally ordered; in this case
+ __VFP_FP__ will be defined, even if soft-float. */
+-#ifdef __VFP_FP__
++#ifdef __SOFTFP__
+ #ifdef __ARMEL__
+ #define __IEEE_LITTLE_ENDIAN
+ #else