2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=Matthias Schiffer
<mschiffer@universe-factory.net
>
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
16 PKG_SOURCE_URL
:=@KERNEL
/software
/network
/ethtool
17 PKG_MD5SUM
:=fbf1a167b88a5966a2c56a2483af68c6
20 PKG_LICENSE_FILES
:=COPYING
26 PKG_CONFIG_DEPENDS
:=ETHTOOL_PRETTY_DUMP
28 include $(INCLUDE_DIR
)/package.mk
30 define Package
/ethtool
33 TITLE
:=Display or change ethernet card settings
34 URL
:=http
://www.kernel.org
/pub
/software
/network
/ethtool
/
37 define Package
/ethtool
/description
38 ethtool is a small utility for examining and tuning your ethernet-based
42 define Package
/ethtool
/config
43 source
"$(SOURCE)/Config.in
46 ifeq ($(CONFIG_ETHTOOL_PRETTY_DUMP),y)
47 CONFIGURE_ARGS += --enable-pretty-dump
49 CONFIGURE_ARGS += --disable-pretty-dump
52 define Package/ethtool/install
53 $(INSTALL_DIR) $(1)/usr/sbin
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin
57 $(eval $(call BuildPackage,ethtool))