Makefile 819 B

12345678910111213141516171819202122232425
  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:= ethtool
  5. PKG_VERSION:= 5.15
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d
  8. PKG_DESCR:= display or change ethernet card settings
  9. PKG_DEPENDS:= libmnl
  10. PKG_BUILDDEP:= libmnl
  11. PKG_SECTION:= net/misc
  12. PKG_SITES:= https://www.kernel.org/pub/software/network/ethtool/
  13. include ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,ETHTOOL,ethtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. ethtool-install:
  16. ${INSTALL_DIR} ${IDIR_ETHTOOL}/usr/sbin
  17. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ethtool \
  18. ${IDIR_ETHTOOL}/usr/sbin
  19. include ${ADK_TOPDIR}/mk/pkg-bottom.mk