ncurses: cleanup InstallDev

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43204
This commit is contained in:
Nicolas Thill 2014-11-06 19:35:23 +00:00
parent 8d515b3b40
commit bd92e9806b

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2006-2013 OpenWrt.org # Copyright (C) 2006-2014 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -131,7 +131,7 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \
$(2)/bin/ncursesw5-config $(2)/bin/ncursesw5-config
ln -sf $(STAGING_DIR)/host/bin/ncursesw5-config $(1)/usr/bin/ncursesw5-config $(LN) $(2)/bin/ncursesw5-config $(1)/usr/bin/ncursesw5-config
endef endef
else else
define Build/InstallDev define Build/InstallDev
@ -145,7 +145,7 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ncurses5-config $(2)/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncurses5-config $(2)/bin/
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
$(2)/bin/ncurses5-config $(2)/bin/ncurses5-config
ln -sf $(STAGING_DIR)/host/bin/ncurses5-config $(1)/usr/bin/ncurses5-config $(LN) $(2)/bin/ncurses5-config $(1)/usr/bin/ncurses5-config
endef endef
endif endif