aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2015-03-31 10:22:34 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-03-31 13:48:09 -0300
commit684b041637efa64785c266c6d4443aa10661015d (patch)
treec5cbc80bcdadcb04c7c331ed01dca87a2749fcfc /recipes-extended
parente977e9317f854be38c23fc72ffa2b250bca1cc3f (diff)
downloadmeta-java-684b041637efa64785c266c6d4443aa10661015d.tar.gz
meta-java-684b041637efa64785c266c6d4443aa10661015d.tar.bz2
meta-java-684b041637efa64785c266c6d4443aa10661015d.zip
rxtx: put .jar and .so files into the same package (librxtx-java)
That's how Debian does, supposedly because it does not make sense to ship .jar and .so files into separate packages. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/rxtx/rxtx_2.2.0.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb b/recipes-extended/rxtx/rxtx_2.2.0.bb
index 56c939f..b9b3027 100644
--- a/recipes-extended/rxtx/rxtx_2.2.0.bb
+++ b/recipes-extended/rxtx/rxtx_2.2.0.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "3c30373e760f444def3650c76c5a00ae12fb1d860ec008750d084f4880
S = "${WORKDIR}/rxtx-2.2pre2"
-INSANE_SKIP_${PN} += "dev-so"
+INSANE_SKIP_${JPN} += "dev-so"
inherit autotools-brokensep java-library
PACKAGE_ARCH = "${TUNE_PKGARCH}"
@@ -51,5 +51,11 @@ do_install_prepend() {
install -d ${D}${datadir_java}/ext
}
-FILES_${PN} += "${libdir_jni}"
+PACKAGES_remove = "${PN}"
+
+FILES_${JPN} += "${libdir_jni}"
+RPROVIDES_${JPN} = "${PN}"
+RCONFLICTS_${JPN} = "${PN}"
+RREPLACES_${JPN} = "${PN}"
+
FILES_${PN}-dbg += "${libdir_jni}/.debug"