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.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/gkernel
16 PKG_MD5SUM
:=3b721ec27f17ebf320ba8c505cf66d9c
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/ethtool
23 TITLE
:=Display or change ethernet card settings
24 URL
:=http
://sourceforge.net
/projects
/gkernel
/
27 define Package
/ethtool
/description
28 ethtool is used for querying settings of an ethernet device and changing them.
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
35 DESTDIR
="$(PKG_INSTALL_DIR)" \
39 define Package
/ethtool
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ethtool
$(1)/usr
/sbin
/
44 $(eval
$(call BuildPackage
,ethtool
))