summaryrefslogtreecommitdiff
path: root/package/ncurses
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-21 06:45:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-21 06:45:20 +0000
commit9710f415faf5cec6a961bb977e94cea08bd6ddb6 (patch)
treea2a41fb1110c2a97836bf0c75eb521a9ed72cf76 /package/ncurses
parentc28e406a9c01835bd67e8935cc093377a521f57a (diff)
downloadmtk-20170518-9710f415faf5cec6a961bb977e94cea08bd6ddb6.zip
mtk-20170518-9710f415faf5cec6a961bb977e94cea08bd6ddb6.tar.gz
mtk-20170518-9710f415faf5cec6a961bb977e94cea08bd6ddb6.tar.bz2
ncurses: install ncurses5-config and ncursesw5-config (#9044)
SVN-Revision: 26255
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 6b2f7b6..69a2041 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -126,6 +126,12 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}w.{a,so*} $(1)/usr/lib/
+
+ $(INSTALL_DIR) $(1)/usr/bin $(2)/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/
+ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
+ $(2)/bin/ncursesw5-config
+ ln -sf $(STAGING_DIR)/host/bin/ncursesw5-config $(1)/usr/bin/ncursesw5-config
endef
else
define Build/InstallDev
@@ -134,6 +140,12 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{curses,ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/
+
+ $(INSTALL_DIR) $(1)/usr/bin $(2)/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncurses5-config $(2)/bin/
+ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
+ $(2)/bin/ncurses5-config
+ ln -sf $(STAGING_DIR)/host/bin/ncurses5-config $(1)/usr/bin/ncurses5-config
endef
endif