diff options
author | ccsmart <ccsmart@smartpal.de> | 2005-08-27 16:49:51 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-27 16:49:51 +0000 |
commit | 3d65e3ebf8fcdce26763674a0c4b09149bec33be (patch) | |
tree | aeb676b97aaeb8ced632d4cf50d472e05f6e4c1c /packages/sablevm/sablevm_1.12.bb | |
parent | 5b5d55d83b2bfb50fdd8b8b8875217c5676314d2 (diff) | |
parent | d2fb24b4dca507970eda44faf4d3bfc966490b54 (diff) |
merge of 7441878ba0c588c0781b7565310897973e6f36af
and 76212ac44485e51989d04e8572e5b46bc808d90f
Diffstat (limited to 'packages/sablevm/sablevm_1.12.bb')
-rw-r--r-- | packages/sablevm/sablevm_1.12.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/sablevm/sablevm_1.12.bb b/packages/sablevm/sablevm_1.12.bb new file mode 100644 index 0000000000..030d8022ad --- /dev/null +++ b/packages/sablevm/sablevm_1.12.bb @@ -0,0 +1,53 @@ +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 \ + file://no-internal-libs.patch;patch=1" + +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_configure() { + # remove internal copies of libpopt and libffi + rm -rf src/libpopt src/libffi + + autotools_do_configure +} + +do_install() { + autotools_do_install + + 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 +} |