diff options
author | Philip Balister <philip@balister.org> | 2008-02-12 13:42:34 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2008-02-12 13:42:34 +0000 |
commit | 64efb6d640ada9fffcb4c98a1e4ae4f8d2bd0e9c (patch) | |
tree | c5581b96374be871d59809b2934aa791ccc5bfdf /packages/rxtx/rxtx_2.1-7r2.bb | |
parent | 73c9713cacf49f300e034bbb6b47df17caf29d4f (diff) | |
parent | 3168ff71a18d3bfa339f0ccdace03878ab2094f2 (diff) |
merge of '967336334b2d3b22623c9851eb0ab8a2f5ad19c2'
and 'f1ce41fae2ee4dc6bfc75fb8d991a37869ef24d8'
Diffstat (limited to 'packages/rxtx/rxtx_2.1-7r2.bb')
-rw-r--r-- | packages/rxtx/rxtx_2.1-7r2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/rxtx/rxtx_2.1-7r2.bb b/packages/rxtx/rxtx_2.1-7r2.bb new file mode 100644 index 0000000000..260b70a1fe --- /dev/null +++ b/packages/rxtx/rxtx_2.1-7r2.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "RXTX provides serial and parallel communication for Java applications" +LICENSE = "LGPL" +SECTION = "libs" +HOMEPAGE = "http://rxtx.org" + +inherit autotools java-library + +SRC_URI = "\ + http://rxtx.qbang.org/pub/rxtx/${PN}-${PV}.zip \ + file://rxtx-fixes-from-debian.patch;patch=1 \ + " + +do_install() { + install -d ${D}/${libdir_jni} + install -d ${D}/${datadir_java} + + oe_runmake install \ + RXTX_PATH=${D}/${libdir_jni} \ + JHOME=${D}/${datadir_java} +} + +do_stage() { + oe_jarinstall -s RXTXcomm.jar +} + +PACKAGES = "${JPN} lib${PN}-jni lib${PN}-dev lib${PN}-jni-dbg" + +FILES_lib${PN}-jni = "${libdir_jni}/lib*.so" +FILES_lib${PN}-dev = "${libdir_jni}/lib*.la" +FILES_lib${PN}-jni-dbg = "${libdir_jni}/.debug/lib*.so" |