summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-ncurses.in5
-rw-r--r--rules/host-ncurses.make28
-rw-r--r--rules/ncurses.in1
-rw-r--r--rules/ncurses.make8
4 files changed, 39 insertions, 3 deletions
diff --git a/rules/host-ncurses.in b/rules/host-ncurses.in
new file mode 100644
index 000000000..bd922c098
--- /dev/null
+++ b/rules/host-ncurses.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_NCURSES
+ tristate
+ default ALLYES
diff --git a/rules/host-ncurses.make b/rules/host-ncurses.make
new file mode 100644
index 000000000..62eaa85ea
--- /dev/null
+++ b/rules/host-ncurses.make
@@ -0,0 +1,28 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2008 by mol@pengutronix.de
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_NCURSES) += host-ncurses
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_NCURSES_CONF_TOOL := autoconf
+HOST_NCURSES_CONF_OPT = \
+ $(HOST_AUTOCONF) \
+ $(NCURSES_AUTOCONF_SHARED)
+
+# vim: syntax=make
diff --git a/rules/ncurses.in b/rules/ncurses.in
index 63a41e4e6..a8c630e28 100644
--- a/rules/ncurses.in
+++ b/rules/ncurses.in
@@ -2,6 +2,7 @@
menuconfig NCURSES
tristate
prompt "ncurses "
+ select HOST_NCURSES
help
The ncurses libraries implement the curses API. The panel, menu and
forms libraries implement clones of the SVr4 panel, menu and forms
diff --git a/rules/ncurses.make b/rules/ncurses.make
index 7b2873c36..d55fda969 100644
--- a/rules/ncurses.make
+++ b/rules/ncurses.make
@@ -35,8 +35,9 @@ $(NCURSES_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
-NCURSES_PATH := PATH=$(CROSS_PATH)
-NCURSES_ENV := $(CROSS_ENV)
+NCURSES_ENV := \
+ $(CROSS_ENV) \
+ TIC_PATH="$(PTXCONF_SYSROOT_HOST)/bin/tic"
NCURSES_AUTOCONF_SHARED := \
--disable-echo \
@@ -86,7 +87,8 @@ endif
NCURSES_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
- $(NCURSES_AUTOCONF_SHARED)
+ $(NCURSES_AUTOCONF_SHARED) \
+ --without-progs
# ----------------------------------------------------------------------------
# Install