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.

45 lines
1.0 KiB

  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.15
  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:=e7bf0c355d2bf6ee281ebc713c5fb987
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/ethtool
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Display or change ethernet card settings
  25. URL:=http://www.kernel.org/pub/software/network/ethtool/
  26. endef
  27. define Package/ethtool/description
  28. ethtool is a small utility for examining and tuning your ethernet-based
  29. network interface
  30. endef
  31. define Package/ethtool/install
  32. $(INSTALL_DIR) $(1)/usr/sbin
  33. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin
  34. endef
  35. $(eval $(call BuildPackage,ethtool))