summaryrefslogtreecommitdiff
path: root/packages/ncurses/ncurses.inc
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-03-11 13:48:44 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-03-11 13:48:44 +0000
commit7e8dbb134a4c8488fe533b8611528637930e0a02 (patch)
tree6408bb8eb701cc38d96deef0090cdbbd831b6c21 /packages/ncurses/ncurses.inc
parent84c5f5d53e3417913c75df26cf33678efe0a148e (diff)
parent6b6cf4dab96836c4c814ffc79a05fc12ff113a62 (diff)
merge of '1458e9ca6c6d9b78bff4114c4a3b09c7aa6b7a8e'
and 'df907de16e9f058a9d98b4ee458c93e7c4965a9c'
Diffstat (limited to 'packages/ncurses/ncurses.inc')
-rw-r--r--packages/ncurses/ncurses.inc36
1 files changed, 27 insertions, 9 deletions
diff --git a/packages/ncurses/ncurses.inc b/packages/ncurses/ncurses.inc
index 2c6cfd05b0..9b4fff50ad 100644
--- a/packages/ncurses/ncurses.inc
+++ b/packages/ncurses/ncurses.inc
@@ -4,7 +4,6 @@ SECTION = "libs"
LICENSE = "MIT"
DEPENDS = "ncurses-native"
RSUGGESTS_${PN} = "ncurses-terminfo"
-RPROVIDES = "libncurses5"
inherit autotools
@@ -21,6 +20,7 @@ EXTRA_OECONF = "--with-shared \
--without-cxx-binding \
--with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
--enable-overwrite"
+
export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
export BUILD_LDFLAGS = ""
export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
@@ -80,11 +80,29 @@ pkg_prerm_ncurses-tools () {
update-alternatives --remove reset reset.${PN}
}
-PACKAGES_prepend = "ncurses-tools "
-PACKAGES_append = " ncurses-terminfo"
-FILES_ncurses_append = " ${datadir}/tabset"
-# 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.${PN} ${bindir}/reset.${PN} ${bindir}/tack "
-FILES_ncurses-terminfo = "${datadir}/terminfo"
-FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* ยง{datadir}/tabset ${sysconfdir}/terminfo"
+
+PACKAGES =+ "${PN}-ncurses ${PN}-panel ${PN}-menu ${PN}-form ${PN}-terminfo ${PN}-tools"
+FILES_${PN}-ncurses = "${libdir}/libncurses.so.*"
+FILES_${PN}-panel = "${libdir}/libpanel.so.*"
+FILES_${PN}-menu = "${libdir}/libmenu.so.*"
+FILES_${PN}-form = "${libdir}/libform.so.*"
+FILES_${PN}-terminfo = "\
+ ${libdir}/terminfo \
+ ${datadir}/terminfo \
+"
+FILES_${PN}-tools = "\
+ ${bindir}/tic \
+ ${bindir}/tack \
+ ${bindir}/toe \
+ ${bindir}/infotocap \
+ ${bindir}/captoinfo \
+ ${bindir}/infocmp \
+ ${bindir}/clear.${PN} \
+ ${bindir}/reset.${PN} \
+"
+FILES_${PN} = "\
+ ${bindir}/tput \
+ ${bindir}/tset \
+ ${datadir}/tabset \
+ ${sysconfdir}/terminfo \
+"