summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-23 12:31:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-23 12:02:11 +0000
commitc09a2058f6b2f24ab2ae9c5ea357111dd82af39e (patch)
treea89a016e5e6ddc31671600ecddd459c000637ed6
parent231cdeec05f82a8b16141098ca9ca6df41ebe396 (diff)
downloadopenembedded-core-c09a2058f6b2f24ab2ae9c5ea357111dd82af39e.tar.gz
openembedded-core-c09a2058f6b2f24ab2ae9c5ea357111dd82af39e.tar.bz2
openembedded-core-c09a2058f6b2f24ab2ae9c5ea357111dd82af39e.zip
ncurses: ship clear/reset in package.
Fixed not shipped packaging warnings. WARNING: For recipe ncurses-nativesdk, the following files/directories were installed but not shipped in any package: WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 4d64f5ea20..ae99e2ca04 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 = "r7"
+INC_PR = "r8"
inherit autotools binconfig multilib_header
@@ -245,8 +245,8 @@ FILES_${PN}-tools = "\
${bindir}/infotocap \
${bindir}/captoinfo \
${bindir}/infocmp \
- ${bindir}/clear.${PN} \
- ${bindir}/reset.${PN} \
+ ${bindir}/clear${@['', '.${PN\x7d'][d.getVar('PN', 1) == 'ncurses']} \
+ ${bindir}/reset${@['', '.${PN\x7d'][d.getVar('PN', 1) == 'ncurses']} \
${bindir}/tack \
${bindir}/tabs \
"