Brak opisu

Makefile 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_FILE:=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))