summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/kaffe/kaffe.inc2
-rw-r--r--packages/kaffe/kaffeh-native_1.1.5.bb22
-rw-r--r--packages/kaffe/kaffeh-native_cvs.bb6
3 files changed, 28 insertions, 2 deletions
diff --git a/packages/kaffe/kaffe.inc b/packages/kaffe/kaffe.inc
index 3ea8bd68e7..db913aee51 100644
--- a/packages/kaffe/kaffe.inc
+++ b/packages/kaffe/kaffe.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Kaffe is a clean room implementation of the Java Virtual Machine"
HOMEPAGE = "http://www.kaffe.org/"
LICENSE = "GPL LGPL W3C Classpath BSD"
-DEPENDS = "jikes-native fastjar-native"
+DEPENDS = "jikes-native fastjar-native libffi"
SRC_URI += "file://disable-automake-checks.patch;patch=1"
diff --git a/packages/kaffe/kaffeh-native_1.1.5.bb b/packages/kaffe/kaffeh-native_1.1.5.bb
index e69de29bb2..1a268dddbb 100644
--- a/packages/kaffe/kaffeh-native_1.1.5.bb
+++ b/packages/kaffe/kaffeh-native_1.1.5.bb
@@ -0,0 +1,22 @@
+SRC_URI = "http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/kaffe-${PV}.tar.gz"
+S = "${WORKDIR}/kaffe-${PV}"
+
+include kaffe.inc
+
+inherit native
+
+EXTRA_OECONF = "--disable-alsatest \
+ --disable-esdtest \
+ --disable-sound \
+ --with-jikes \
+ --without-classpath-gtk-awt \
+ --disable-native-awt \
+ --disable-sound \
+ --without-x \
+ --without-kaffe-x-awt \
+ --disable-debug \
+ --disable-gcj"
+
+do_stage() {
+ install -m 0755 kaffe/kaffeh/kaffeh ${STAGING_BINDIR}/
+}
diff --git a/packages/kaffe/kaffeh-native_cvs.bb b/packages/kaffe/kaffeh-native_cvs.bb
index 0eeed7f912..8108e9615d 100644
--- a/packages/kaffe/kaffeh-native_cvs.bb
+++ b/packages/kaffe/kaffeh-native_cvs.bb
@@ -8,7 +8,11 @@ include kaffe.inc
inherit native
-EXTRA_OECONF += " --without-classpath-gtk-awt \
+EXTRA_OECONF = "--disable-alsatest \
+ --disable-esdtest \
+ --disable-sound \
+ --with-jikes \
+ --without-classpath-gtk-awt \
--disable-native-awt \
--disable-sound \
--without-x \