2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/gkernel
17 PKG_MD5SUM:=3b721ec27f17ebf320ba8c505cf66d9c
19 include $(INCLUDE_DIR)/package.mk
21 define Package/ethtool
24 TITLE:=Display or change ethernet card settings
25 URL:=http://sourceforge.net/projects/gkernel/
28 define Package/ethtool/description
29 ethtool is used for querying settings of an ethernet device and changing them.
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
40 define Package/ethtool/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ethtool $(1)/usr/sbin/
45 $(eval $(call BuildPackage,ethtool))