Makefile 929 B

12345678910111213141516171819202122232425262728293031
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= net-tools
  5. PKG_VERSION:= 2.10
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69
  8. PKG_DESCR:= networking tools
  9. PKG_SECTION:= net/misc
  10. PKG_URL:= http://net-tools.sourceforge.net/
  11. PKG_SITES:= https://sourceforge.net/projects/net-tools/files/
  12. PKG_NOPARALLEL:= 1
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,NET_TOOLS,net-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. INSTALL_STYLE:= manual
  17. do-configure:
  18. $(CP) ./files/config.* $(WRKBUILD)/
  19. net-tools-install:
  20. $(INSTALL_DIR) $(IDIR_NET_TOOLS)/sbin
  21. $(INSTALL_BIN) $(WRKBUILD)/{arp,ifconfig,route,hostname} \
  22. $(IDIR_NET_TOOLS)/sbin
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk