branch Attitude Adjustment packages
[12.09/packages.git] / net / ethtool / Makefile
1 #
2 # Copyright (C) 2006-2012 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
11 PKG_VERSION:=3.4.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
16 PKG_MD5SUM:=f1be2ba9d9d3fa1ba65ba634c529eef5
17
18 PKG_INSTALL:=1
19 PKG_BUILD_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/ethtool
24   SECTION:=net
25   CATEGORY:=Network
26   TITLE:=Display or change ethernet card settings
27   URL:=http://www.kernel.org/pub/software/network/ethtool/
28 endef
29
30 define Package/ethtool/description
31  ethtool is a small utility for examining and tuning your ethernet-based
32  network interface
33 endef
34
35 define Package/ethtool/install
36         $(INSTALL_DIR) $(1)/usr/sbin
37         $(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin
38 endef
39
40 $(eval $(call BuildPackage,ethtool))