diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-28 01:45:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-28 01:45:11 +0000 |
commit | 969ac7459ee6f948ea1c8804cc38d659e0c4a9d1 (patch) | |
tree | 7fa927cde9937adeae52d231c1266c7432dc9316 /package/ncurses | |
parent | 800ef0f56ca5971811267b5639c7895c2d569491 (diff) | |
download | mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.zip mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.gz mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.bz2 |
add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
Diffstat (limited to 'package/ncurses')
-rw-r--r-- | package/ncurses/Makefile | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index f51c233..6da4299 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -140,34 +140,34 @@ define Package/libncurses/install endef define Build/InstallDev - mkdir -p $(STAGING_DIR)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/curses.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/ncurses.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/ncurses_dll.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/menu.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/panel.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/term{,cap}.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/unctrl.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/form.h $(STAGING_DIR)/usr/include/ - $(CP) $(PKG_INSTALL_DIR)/usr/include/eti.h $(STAGING_DIR)/usr/include/ - mkdir -p $(STAGING_DIR)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurses.so $(STAGING_DIR)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(STAGING_DIR)/usr/lib/ + mkdir -p $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/curses.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/ncurses.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/ncurses_dll.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/menu.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/panel.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/term{,cap}.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/unctrl.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/form.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/eti.h $(1)/usr/include/ + mkdir -p $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurses.so $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/ endef define Build/UninstallDev rm -rf \ - $(STAGING_DIR)/usr/include/curses.h \ - $(STAGING_DIR)/usr/include/ncurses.h \ - $(STAGING_DIR)/usr/include/ncurses_dll.h \ - $(STAGING_DIR)/usr/include/menu.h \ - $(STAGING_DIR)/usr/include/panel.h \ - $(STAGING_DIR)/usr/include/term{,cap}.h \ - $(STAGING_DIR)/usr/include/unctrl.h \ - $(STAGING_DIR)/usr/include/form.h \ - $(STAGING_DIR)/usr/include/eti.h \ - $(STAGING_DIR)/usr/lib/libcurses.so \ - $(STAGING_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} + $(1)/usr/include/curses.h \ + $(1)/usr/include/ncurses.h \ + $(1)/usr/include/ncurses_dll.h \ + $(1)/usr/include/menu.h \ + $(1)/usr/include/panel.h \ + $(1)/usr/include/term{,cap}.h \ + $(1)/usr/include/unctrl.h \ + $(1)/usr/include/form.h \ + $(1)/usr/include/eti.h \ + $(1)/usr/lib/libcurses.so \ + $(1)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} endef $(eval $(call BuildPackage,libncurses)) |