summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-21 06:45:20 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-21 06:45:20 +0000
commitf73979c415b25a5e2fb29f0c9549baad7306c7d3 (patch)
tree38cf20c3b6a46ec6c4ab57a4b86d7c7d3dd5c9e2 /package
parent06a1c1cf6cbd2ce5b9863eaf1d86dfba63639843 (diff)
[package] ncurses: install ncurses5-config and ncursesw5-config (#9044)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26255 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/ncurses/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 6b2f7b6300..69a2041369 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