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.

42 lines
1008 B

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ethtool
  9. PKG_VERSION:=3.14
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net>
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
  14. PKG_MD5SUM:=d46b809ddd672b51d7e23787ae9122e0
  15. PKG_FIXUP:=autoreconf
  16. PKG_INSTALL:=1
  17. PKG_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/ethtool
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Display or change ethernet card settings
  23. URL:=http://www.kernel.org/pub/software/network/ethtool/
  24. endef
  25. define Package/ethtool/description
  26. ethtool is a small utility for examining and tuning your ethernet-based
  27. network interface
  28. endef
  29. define Package/ethtool/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin
  32. endef
  33. $(eval $(call BuildPackage,ethtool))