diff options
Diffstat (limited to 'packages/classpath/classpath-minimal.inc')
-rw-r--r-- | packages/classpath/classpath-minimal.inc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/classpath/classpath-minimal.inc b/packages/classpath/classpath-minimal.inc new file mode 100644 index 0000000000..5a2587b56c --- /dev/null +++ b/packages/classpath/classpath-minimal.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "GNU Classpath standard Java libraries" +HOMEPAGE = "http://www.gnu.org/software/classpath/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "Classpath" +PROVIDES = "classpath" +RPROVIDES = "classpath" + +S = "${WORKDIR}/classpath-${PV}" + +SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" + +DEPENDS = "ecj-native zip-native" + +inherit autotools + + +EXTRA_OECONF = "--with-glibj \ + --with-ecj=${STAGING_BINDIR_NATIVE}/ecj \ + --disable-alsa \ + --disable-gconf-peer \ + --disable-gtk-peer \ + --disable-plugin \ + --disable-dssi \ + --disable-examples \ + " +do_install() { + : +} + +do_stage() { + install -d ${STAGING_INCDIR}/classpath-minimal/ + install -m 0644 include/jni.h ${STAGING_INCDIR}/classpath-minimal/ + install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath-minimal/ + install -d ${STAGING_LIBDIR}/java/classpath-minimal/ + install -m 0644 lib/glibj.zip ${STAGING_LIBDIR}/java/classpath-minimal/ +} + +PACKAGES = " " |