blob: 260b70a1fe75b4083c04e534197568e1a5ee580c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
|