aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/ncurses.inc
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:13:07 +0000
commit065a9a6c3baeecdba56bdf5d521aded111616394 (patch)
treee63314283d9f443e64863cb5666a5b03749f35ba /meta/recipes-core/ncurses/ncurses.inc
parent7987452087a90ba556d540ca9238247a06150f56 (diff)
downloadopenembedded-core-contrib-065a9a6c3baeecdba56bdf5d521aded111616394.tar.gz
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 (From OE-Core rev: c09a2058f6b2f24ab2ae9c5ea357111dd82af39e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses.inc')
-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 \
"