diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-02-09 02:44:00 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-02-09 02:44:00 +0000 |
commit | 5de12a6ba0bc1fc8c0c23e718586250b24954c28 (patch) | |
tree | f725d98c4ebf592695059d07fba08b0dcb727b55 /packages/rxtx/rxtx_2.1-7r2.bb | |
parent | 00658edbf96bc2e5e25cd645606a7a14db7b9046 (diff) |
rxtx: New recipe.
logic-analyzer: New recipe that uses rxtx.
Diffstat (limited to 'packages/rxtx/rxtx_2.1-7r2.bb')
-rw-r--r-- | packages/rxtx/rxtx_2.1-7r2.bb | 31 |
1 files changed, 31 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..e91a406cfc --- /dev/null +++ b/packages/rxtx/rxtx_2.1-7r2.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "RXTX provides serial and parallel communication for Java applications" +LICENSE = "LGPL" +SECTION = "libs" +MAINTAINER = "Robert Schuster, tarent GmbH Bonn <robert.schuster@tarent.de>" +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" |