summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2007-07-28 16:48:02 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2007-07-28 16:48:02 +0000
commit2e88065a351d225db870574fd67a85a1df132751 (patch)
tree5643060fe7566c1e6201d871fdfcfc1e29c0a53b /packages
parent95e40a54837b7616ee30424e144ab9e11671c1f0 (diff)
-introduce new recipes for classpath-minimal
-classpath-minimal now at 0.95 -seperate install location so no confusion with normal-classpath -chosse a sane glibj.zip-location, but we have no java policy yet -provide no packages, because it is only for building java virtual machines -second step to get MIDP2 support in OE
Diffstat (limited to 'packages')
-rw-r--r--packages/classpath/classpath-minimal-native_0.95.bb8
-rw-r--r--packages/classpath/classpath-minimal.inc39
-rw-r--r--packages/classpath/classpath-minimal_0.95.bb5
3 files changed, 52 insertions, 0 deletions
diff --git a/packages/classpath/classpath-minimal-native_0.95.bb b/packages/classpath/classpath-minimal-native_0.95.bb
new file mode 100644
index 0000000000..c7716ed639
--- /dev/null
+++ b/packages/classpath/classpath-minimal-native_0.95.bb
@@ -0,0 +1,8 @@
+
+# classpath-minimal-native has no packages
+# primary goal is to speed up building of java virtual machines
+
+inherit native
+
+require classpath-minimal.inc
+
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 = " "
diff --git a/packages/classpath/classpath-minimal_0.95.bb b/packages/classpath/classpath-minimal_0.95.bb
new file mode 100644
index 0000000000..e489a4efc9
--- /dev/null
+++ b/packages/classpath/classpath-minimal_0.95.bb
@@ -0,0 +1,5 @@
+
+# classpath-minimal-native has no packages
+# primary goal is to speed up building of java virtual machines
+
+require classpath-minimal.inc