You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
910 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=mdio-tools
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_DATE:=2021-07-19
  7. PKG_SOURCE_VERSION:=65f6898f25b00deebe1c38811e893d9dcd4d7ef3
  8. PKG_MIRROR_HASH:=9db854037b3e8596ccd71567a45aa60fd3cac88b01c9197d4dd9cf3f32589cb2
  9. PKG_FIXUP:=autoreconf
  10. PKG_LICENSE:=GPL-2.0-only
  11. PKG_LICENSE_FILES:=COPYING
  12. PKG_MAINTAINER:=Damien Mascord <tusker@tusker.org>
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/mdio-tools
  15. SECTION:=net
  16. CATEGORY:=Utilities
  17. TITLE:=mdio-tools Linux MDIO register access
  18. URL:=https://github.com/wkz/mdio-tools.git
  19. DEPENDS:=+libmnl
  20. endef
  21. define Package/mdio-tools/description
  22. mdio-tools Linux MDIO register access
  23. endef
  24. define Package/mdio-tools/install
  25. $(INSTALL_DIR) $(1)/usr/bin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mdio/mdio $(1)/usr/bin/
  27. endef
  28. $(eval $(call BuildPackage,mdio-tools))