summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-07-10 14:53:12 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-07-10 14:53:12 +0000
commit826c7fbb7c88eadd21abd948ef30182b6b281d06 (patch)
tree2729a2fdd1a21c9f50d617b37184161fae9b7749
parent61568fc98d0047094c553c6341591185c6a32593 (diff)
parenta30cdd6862d387736390abf0a484985b4ba52673 (diff)
merge of '8acf3d08d60b9f58e48ff7ad9fcdf8c9e034abc9'
and 'fb658027ee3ea092a27993cf5f5f80edb3ebc365'
-rw-r--r--packages/cacao/cacao-native.inc18
-rw-r--r--packages/cacao/cacao-native_0.99.1.bb7
2 files changed, 19 insertions, 6 deletions
diff --git a/packages/cacao/cacao-native.inc b/packages/cacao/cacao-native.inc
index 26d3d37f58..8ae2874253 100644
--- a/packages/cacao/cacao-native.inc
+++ b/packages/cacao/cacao-native.inc
@@ -13,12 +13,18 @@ S = "${WORKDIR}/cacao-${PV}"
inherit native autotools
EXTRA_OECONF = "\
- --enable-debug \
- --with-classpath-libdir=${libdir} \
- --with-classpath-includedir=${includedir}/classpath \
- --with-classpath-classes=${datadir}/classpath/glibj.zip \
- --with-vm-zip=${datadir}/cacao/vm.zip \
- "
+ --enable-debug \
+ --with-vm-zip=${datadir}/cacao/vm.zip \
+ \
+ --with-classpath-libdir=${libdir_jni}:${libdir} \
+ --with-classpath-includedir=${includedir}/classpath \
+ --with-classpath-classes=${datadir}/classpath/glibj.zip \
+ \
+ --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
+ --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
+ --with-jni_md_h=${incdir}/classpath \
+ --with-jni_h=${incdir}/classpath \
+ "
# force usage of ecj-initial (but Java5-compatible class library)
export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
diff --git a/packages/cacao/cacao-native_0.99.1.bb b/packages/cacao/cacao-native_0.99.1.bb
new file mode 100644
index 0000000000..1cf0cb70cf
--- /dev/null
+++ b/packages/cacao/cacao-native_0.99.1.bb
@@ -0,0 +1,7 @@
+require cacao-native.inc
+
+PR = "r0"
+
+SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=a5641452c7ba173060c99ed700950b3d \
+ "
+