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
:=b4e71f7fa2629250677eefcb338442c5
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/ethtool
28 TITLE
:=Display or change ethernet card settings
29 URL
:=http
://sourceforge.net
/projects
/gkernel
/
32 define Package
/ethtool
/description
33 ethtool is used for querying settings of an ethernet device and changing them.
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 DESTDIR
="$(PKG_INSTALL_DIR)" \
44 define Package
/ethtool
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ethtool
$(1)/usr
/sbin
/
49 $(eval
$(call BuildPackage
,ethtool
))