nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / ethtool / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ethtool
11 PKG_VERSION:=6
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/gkernel
16 PKG_MD5SUM:=3b721ec27f17ebf320ba8c505cf66d9c
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ethtool
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=Display or change ethernet card settings
24 URL:=http://sourceforge.net/projects/gkernel/
25 endef
26
27 define Package/ethtool/description
28 ethtool is used for querying settings of an ethernet device and changing them.
29 endef
30
31 # uses GNU configure
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 all install
37 endef
38
39 define Package/ethtool/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ethtool $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,ethtool))