PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/gkernel
PKG_MD5SUM:=b4e71f7fa2629250677eefcb338442c5
-PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
SECTION:=net
CATEGORY:=Network
TITLE:=Display or change ethernet card settings
- DESCRIPTION:=\
- ethtool is used for querying settings of an ethernet device and changing them.
URL:=http://sourceforge.net/projects/gkernel/
endef
+define Package/ethtool/description
+ ethtool is used for querying settings of an ethernet device and changing them.
+endef
+
# uses GNU configure
define Build/Compile
define Package/ethtool/install
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ethtool $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ethtool $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,ethtool))