X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bc39a45d02c2ae51c21908a1793bc1df55471db8..dfba2f5fb19c96511b4f389a65492be66b908f07:/package/ncurses/Makefile diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index 6b2f7b630..69a204136 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