summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-10-10 14:07:04 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-10-10 14:07:04 +0000
commit684e77b0e2f27b33eb7f7c64543ca04598101011 (patch)
tree2fe27feb821a3cfc2515b70ddc8507e55d4a12ee /packages
parent3b35fbcf6081cc769e4cb00d909806b8381f45d1 (diff)
parentb14c265fce3fd34ce603e43a62a4756d8f2732ee (diff)
merge of '3af6bdfc4ccbbb12c35ea36591901cd509d630b0'
and '5b390d09e0870f8caae7a83db36d02ec8805ed4e'
Diffstat (limited to 'packages')
-rw-r--r--packages/rxtx/rxtx_2.1-7r2.bb14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/rxtx/rxtx_2.1-7r2.bb b/packages/rxtx/rxtx_2.1-7r2.bb
index 9b4f9fa4fa..360d5acd78 100644
--- a/packages/rxtx/rxtx_2.1-7r2.bb
+++ b/packages/rxtx/rxtx_2.1-7r2.bb
@@ -3,7 +3,7 @@ LICENSE = "LGPL"
SECTION = "libs"
HOMEPAGE = "http://rxtx.org"
-PR = "r1"
+PR = "r2"
DEPENDS = "classpath classpath-tools-native"
@@ -14,13 +14,18 @@ SRC_URI = "\
file://rxtx-fixes-from-debian.patch;patch=1 \
"
+do_removebinaries_append() {
+ rm acinclude.m4
+}
+
do_compile() {
# Whatever configure detected it is completely unusable. So we override heavily.
oe_runmake \
JAVAH="gjavah -classpath \$(CLASSPATH) -d \$(DEST) -jni" \
JAR=gjar \
JAVAC="javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.3 -target 1.3" \
- JAVAINCLUDEDIR=${STAGING_INCDIR}/classpath
+ JAVAINCLUDEDIR=${STAGING_INCDIR}/classpath \
+ GLIBTOOL="${TARGET_SYS}-libtool"
}
do_install() {
@@ -28,8 +33,9 @@ do_install() {
install -d ${D}/${datadir_java}
oe_runmake install \
- RXTX_PATH=${D}/${libdir_jni} \
- JHOME=${D}/${datadir_java}
+ RXTX_PATH="${D}/${libdir_jni}" \
+ JHOME="${D}/${datadir_java}" \
+ GLIBTOOL="${TARGET_SYS}-libtool"
}
do_stage() {