aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/rxtx/rxtx_2.2.0.bb
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:03:05 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:04:35 +0200
commit499e44455e1c37f89dfb9be9e8a970c26e1311d0 (patch)
tree3482587c7d027e092a8a281b606a85dcd800fd6e /recipes-extended/rxtx/rxtx_2.2.0.bb
parent25ddfefe665ae48291d2ef3c88f4f1a74bad8768 (diff)
downloadmeta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.tar.gz
meta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.tar.bz2
meta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.zip
recipes-extended: split out recipes which are not needed for compiling openjdk
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-extended/rxtx/rxtx_2.2.0.bb')
-rw-r--r--recipes-extended/rxtx/rxtx_2.2.0.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb b/recipes-extended/rxtx/rxtx_2.2.0.bb
new file mode 100644
index 0000000..28603e3
--- /dev/null
+++ b/recipes-extended/rxtx/rxtx_2.2.0.bb
@@ -0,0 +1,48 @@
+DESCRIPTION = "Full Java CommAPI implementation"
+DEPENDS = "fastjar-native"
+LICENSE = "RXTXv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32303a23463f90b12a7d1dafb8deabf4"
+PR = "r2"
+
+SRC_URI = "http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2.zip \
+ file://zsystem_init_exception.patch \
+ file://kfreebsd_port.patch \
+ file://ttyACM_port.patch \
+ file://original_debian_changes.patch \
+ file://kfreebsd_libpthread.patch \
+ file://sys_io_h_check.patch \
+ file://port_to_hurd.patch \
+ file://multiple_property_dirs.patch \
+ file://uninstall_target.patch"
+
+SRC_URI[md5sum] = "7eedb18e3f33a427e2b0e9be8ce3f94c"
+SRC_URI[sha256sum] = "3c30373e760f444def3650c76c5a00ae12fb1d860ec008750d084f4880495b03"
+
+S = "${WORKDIR}/rxtx-2.2pre2"
+
+INSANE_SKIP_${PN} += "dev-so"
+
+inherit autotools java-library
+
+JARFILENAME = "RXTXcomm.jar"
+EXTRA_OEMAKE += "RXTX_PATH=${D}${libdir_jni} \
+ JHOME=${D}${datadir_java}/ext"
+
+do_configure_prepend() {
+ # Ugly but don't complain to me, but upstream ;-)
+ sed -e 's,bin/javah,bin/gjavah,g' \
+ -e 's,bin/jar,bin/fastjar,g' \
+ -e 's,\$(TOP)/libtool,\$(TOP)/\${host_alias}-libtool,g' -i ${S}/configure.in
+ rm -f ${S}/acinclude.m4 \
+ ${S}/aclocal.m4 \
+ ${S}/ltconfig \
+ ${S}/ltmain.sh
+}
+
+do_install_prepend() {
+ install -d ${D}${libdir_jni}
+ install -d ${D}${datadir_java}/ext
+}
+
+FILES_${PN} += "${libdir_jni}"
+FILES_${PN}-dbg += "${libdir_jni}/.debug"