OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=ethtool |
||
3 | office | 11 | PKG_VERSION:=4.15 |
1 | office | 12 | PKG_RELEASE:=1 |
13 | |||
14 | PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name> |
||
15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
||
16 | PKG_SOURCE_URL:=@KERNEL/software/network/ethtool |
||
3 | office | 17 | PKG_HASH:=71f7fd32483ffdc7c6c4d882e230714eb101df0a46cbe396dbeb8ac78f1ef91a |
1 | office | 18 | |
19 | PKG_LICENSE:=GPL-2.0 |
||
20 | PKG_LICENSE_FILES:=COPYING |
||
21 | |||
22 | PKG_FIXUP:=autoreconf |
||
23 | PKG_INSTALL:=1 |
||
24 | PKG_BUILD_PARALLEL:=1 |
||
25 | |||
26 | PKG_CONFIG_DEPENDS:=ETHTOOL_PRETTY_DUMP |
||
27 | |||
28 | include $(INCLUDE_DIR)/package.mk |
||
29 | |||
30 | define Package/ethtool |
||
31 | SECTION:=net |
||
32 | CATEGORY:=Network |
||
33 | TITLE:=Display or change ethernet card settings |
||
34 | URL:=http://www.kernel.org/pub/software/network/ethtool/ |
||
35 | endef |
||
36 | |||
37 | define Package/ethtool/description |
||
38 | ethtool is a small utility for examining and tuning your ethernet-based |
||
39 | network interface |
||
40 | endef |
||
41 | |||
42 | define Package/ethtool/config |
||
43 | config ETHTOOL_PRETTY_DUMP |
||
44 | depends on PACKAGE_ethtool |
||
45 | bool "Enable pretty printing" |
||
46 | endef |
||
47 | |||
48 | ifeq ($(CONFIG_ETHTOOL_PRETTY_DUMP),y) |
||
49 | CONFIGURE_ARGS += --enable-pretty-dump |
||
50 | else |
||
51 | CONFIGURE_ARGS += --disable-pretty-dump |
||
52 | endif |
||
53 | |||
54 | define Package/ethtool/install |
||
55 | $(INSTALL_DIR) $(1)/usr/sbin |
||
56 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin |
||
57 | endef |
||
58 | |||
59 | $(eval $(call BuildPackage,ethtool)) |