summaryrefslogtreecommitdiff
path: root/packages/sablevm
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/sablevm
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/sablevm')
-rw-r--r--packages/sablevm/.mtn2git_empty0
-rw-r--r--packages/sablevm/sablevm-classpath/.mtn2git_empty0
-rw-r--r--packages/sablevm/sablevm-classpath/disable-automake-checks.patch11
-rw-r--r--packages/sablevm/sablevm_1.11.3.bb43
4 files changed, 54 insertions, 0 deletions
diff --git a/packages/sablevm/.mtn2git_empty b/packages/sablevm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sablevm/.mtn2git_empty
diff --git a/packages/sablevm/sablevm-classpath/.mtn2git_empty b/packages/sablevm/sablevm-classpath/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sablevm/sablevm-classpath/.mtn2git_empty
diff --git a/packages/sablevm/sablevm-classpath/disable-automake-checks.patch b/packages/sablevm/sablevm-classpath/disable-automake-checks.patch
index e69de29bb2..d6a55428ad 100644
--- a/packages/sablevm/sablevm-classpath/disable-automake-checks.patch
+++ b/packages/sablevm/sablevm-classpath/disable-automake-checks.patch
@@ -0,0 +1,11 @@
+--- sablevm-classpath-1.1.7/configure.ac.orig 2004-11-26 00:23:01.000000000 +0100
++++ sablevm-classpath-1.1.7/configure.ac 2004-11-26 00:23:46.000000000 +0100
+@@ -34,7 +34,7 @@
+ AC_SUBST(CLASSPATH_MODULE)
+
+ AC_PREREQ(2.59)
+-AM_INIT_AUTOMAKE([1.9.0 gnu std-options tar-ustar])
++AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADERS([include/config.h])
+ AC_PREFIX_DEFAULT(/usr/local)
+
diff --git a/packages/sablevm/sablevm_1.11.3.bb b/packages/sablevm/sablevm_1.11.3.bb
index e69de29bb2..1cc65d6b3a 100644
--- a/packages/sablevm/sablevm_1.11.3.bb
+++ b/packages/sablevm/sablevm_1.11.3.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "A highly-portable Java virtual machine implementing the Java virtual machine specification, second edition."
+HOMEPAGE = "http://sablevm.org"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "interpreters"
+
+DEPENDS = "libffi libtool popt \
+ sablevm-classpath"
+# unzip"
+RRECOMMENDS = "sablevm-classpath (>= ${PV})"
+
+SRC_URI = "http://sablevm.org/download/release/${PV}/${PN}-${PV}.tar.gz"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--enable-real-life-brokenness \
+ --disable-errors-on-warnings --disable-signals-for-exceptions"
+
+PROVIDES = "virtual/java"
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/java-sablevm"
+ALTERNATIVE_PRIORITY = "350"
+
+PACKAGES = "${PN} ${PN}-doc lib${PN} lib${PN}-dev"
+
+FILES_${PN} = "${bindir} \
+ ${libdir}/${PN}/bin"
+
+FILES_lib${PN} = "${libdir}/lib${PN}-*.so"
+
+FILES_lib${PN}-dev = "${includedir}/jni* \
+ ${libdir}/lib${PN}.so \
+ ${libdir}/lib${PN}.la"
+
+do_install_append() {
+ install -d ${D}${docdir}
+ mv ${D}${datadir}/${PN} ${D}${docdir}/
+
+ # symlink only present in the deb...
+ install -d ${D}${libdir}/${PN}/bin
+ cd ${D}${libdir}/${PN}/bin && ln -sf ../../../bin/java-sablevm java
+}