From 684b041637efa64785c266c6d4443aa10661015d Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Tue, 31 Mar 2015 10:22:34 -0300 Subject: 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 Signed-off-by: Otavio Salvador --- recipes-extended/rxtx/rxtx_2.2.0.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'recipes-extended') 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" -- cgit v1.2.3-54-g00ecf