From patchwork Wed Mar 14 00:31:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] ncurses: fix packaging of moved libraries Date: Wed, 14 Mar 2012 00:31:25 -0000 From: Scott Garman X-Patchwork-Id: 23207 Message-Id: <78b7df910bf1d5d25f5cc637a15c8e867d7bd712.1331684953.git.scott.a.garman@intel.com> To: openembedded-core@lists.openembedded.org The recent move of some of the ncurses libraries to base_libdir does not work with our automatic library packaging, so this explicity creates packages for libncurses, libncursesw, and libtinfo. Signed-off-by: Scott Garman --- meta/recipes-core/ncurses/ncurses.inc | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index e450868..155c0bd 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS_virtclass-native = "" -INC_PR = "r5" +INC_PR = "r6" inherit autotools binconfig multilib_header @@ -220,6 +220,9 @@ pkg_prerm_ncurses-tools () { BBCLASSEXTEND = "native nativesdk" PACKAGES += " \ + ${PN}-libncurses \ + ${PN}-libncursesw \ + ${PN}-libtinfo \ ${PN}-tools \ ${PN}-terminfo \ ${PN}-terminfo-base \ @@ -231,7 +234,18 @@ FILES_${PN} = "\ ${bindir}/ncurses5-config \ ${bindir}/ncursesw5-config \ ${datadir}/tabset \ - ${base_libdir}/* \ +" + +FILES_${PN}-libncurses = "\ + ${base_libdir}/libncurses.so.* \ +" + +FILES_${PN}-libncursesw = "\ + ${base_libdir}/libncursesw.so.* \ +" + +FILES_${PN}-libtinfo = "\ + ${base_libdir}/libtinfo.so.* \ " # This keeps only tput/tset in ncurses