summaryrefslogtreecommitdiff
path: root/packages/ncurses/ncurses_5.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ncurses/ncurses_5.4.bb')
-rw-r--r--packages/ncurses/ncurses_5.4.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/ncurses/ncurses_5.4.bb b/packages/ncurses/ncurses_5.4.bb
index b4faa4f458..8cada85370 100644
--- a/packages/ncurses/ncurses_5.4.bb
+++ b/packages/ncurses/ncurses_5.4.bb
@@ -3,11 +3,11 @@ HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
LICENSE = "MIT"
SECTION = "libs"
DEPENDS = "ncurses-native"
+PACKAGES_prepend = "ncurses-tools "
PACKAGES_append = " ncurses-terminfo"
FILES_ncurses_append = " ${datadir}/tabset"
-FILES_ncurses-terminfo = "${datadir}/terminfo"
RSUGGESTS_${PN} = "ncurses-terminfo"
-PR = "r4"
+PR = "r5"
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
file://visibility.patch;patch=1"
@@ -15,6 +15,12 @@ S = "${WORKDIR}/ncurses-${PV}"
inherit autotools
+# This keeps only tput/tset in ncurses
+# clear/reset are in already busybox
+FILES_ncurses-tools = "${bindir}/tic ${bindir}/toe ${bindir}/infotocap ${bindir}/captoinfo ${bindir}/infocmp ${bindir}/clear ${bindir}/reset ${bindir}/tack "
+FILES_ncurses-terminfo = "${datadir}/terminfo"
+FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* usr/share/tabset etc/terminfo"
+
EXTRA_OECONF = "--with-shared \
--without-profile \
--without-debug \