summaryrefslogtreecommitdiff
path: root/packages/logic-analyzer/logic-analyzer_0.8.bb
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-02-09 02:44:00 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-02-09 02:44:00 +0000
commit5de12a6ba0bc1fc8c0c23e718586250b24954c28 (patch)
treef725d98c4ebf592695059d07fba08b0dcb727b55 /packages/logic-analyzer/logic-analyzer_0.8.bb
parent00658edbf96bc2e5e25cd645606a7a14db7b9046 (diff)
rxtx: New recipe.
logic-analyzer: New recipe that uses rxtx.
Diffstat (limited to 'packages/logic-analyzer/logic-analyzer_0.8.bb')
-rw-r--r--packages/logic-analyzer/logic-analyzer_0.8.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/logic-analyzer/logic-analyzer_0.8.bb b/packages/logic-analyzer/logic-analyzer_0.8.bb
new file mode 100644
index 0000000000..ce691093fa
--- /dev/null
+++ b/packages/logic-analyzer/logic-analyzer_0.8.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "A Java-based logical analyzer for home use."
+LICENSE = "GPL"
+MAINTAINER = "Robert Schuster, tarent GmbH Bonn <robert.schuster@tarent.de>"
+HOMEPAGE = "http://sump.org/projects/analyzer/"
+
+inherit java
+
+DEPENDS = "rxtx"
+RDEPENDS = "librxtx-java"
+
+SRC_URI = "\
+ http://sump.org/projects/analyzer/downloads/la-src-${PV}.tar.bz2 \
+ file://cp-run-fix.patch;patch=1 \
+ file://client-makefile.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/LogicAnalyzer"
+
+do_compile() {
+
+ oe_runmake -C client all jar \
+ JAVAC_FLAGS="-sourcepath . -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip -classpath ${STAGING_DATADIR}/java/RXTXcomm.jar"
+
+ oe_java_simple_wrapper org.sump.analyzer.Loader analyzer.jar RXTXcomm.jar
+}
+
+do_install() {
+ oe_jarinstall client/analyzer.jar
+
+ install -d ${D}${bindir}
+ install -m 0555 ${PN} ${D}${bindir}
+}
+
+PACKAGES = "${PN}"
+
+FILES_${PN} = "${datadir_java}/analyzer.jar ${bindir}/${PN}"
+
+PACKAGE_ARCH = "all"