2006-08-01 19:44:24 +00:00
|
|
|
#
|
2011-04-03 18:10:36 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-08-01 19:44:24 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ethtool
|
2011-04-03 18:10:36 +00:00
|
|
|
PKG_VERSION:=2.6.38
|
2010-07-18 07:55:41 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-08-01 19:44:24 +00:00
|
|
|
|
2011-04-03 18:10:36 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
|
|
|
|
PKG_MD5SUM:=4cc35c59e4fd0defff768f9f59fa41ad
|
2006-08-01 19:44:24 +00:00
|
|
|
|
2010-02-13 01:11:24 +00:00
|
|
|
PKG_INSTALL:=1
|
2011-04-03 18:10:36 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2010-02-13 01:11:24 +00:00
|
|
|
|
2006-08-01 19:44:24 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ethtool
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Display or change ethernet card settings
|
2011-04-03 18:10:36 +00:00
|
|
|
URL:=http://www.kernel.org/pub/software/network/ethtool/
|
|
|
|
MAINTAINER:=Luka Perkov <openwrt@lukaperkov.net>
|
2006-08-01 19:44:24 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/ethtool/description
|
2011-04-03 18:10:36 +00:00
|
|
|
ethtool is a small utility for examining and tuning your ethernet-based
|
|
|
|
network interface.
|
2010-07-18 07:55:41 +00:00
|
|
|
endef
|
|
|
|
|
2006-08-01 19:44:24 +00:00
|
|
|
define Package/ethtool/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2011-04-03 18:10:36 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ethtool $(1)/usr/sbin/
|
2006-08-01 19:44:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ethtool))
|