summaryrefslogtreecommitdiff
path: root/package/ethtool
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ethtool
Initial import
Diffstat (limited to 'package/ethtool')
-rw-r--r--package/ethtool/Config.in8
-rw-r--r--package/ethtool/Makefile26
-rw-r--r--package/ethtool/ipkg/ethtool.control4
3 files changed, 38 insertions, 0 deletions
diff --git a/package/ethtool/Config.in b/package/ethtool/Config.in
new file mode 100644
index 000000000..8ba4b4c59
--- /dev/null
+++ b/package/ethtool/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_ETHTOOL
+ prompt "ethtool........................... Display or change ethernet card settings"
+ tristate
+ default n
+ help
+ ethtool is used for querying settings of an ethernet device and changing them
+
+ http://sourceforge.net/projects/gkernel/
diff --git a/package/ethtool/Makefile b/package/ethtool/Makefile
new file mode 100644
index 000000000..6e809f20a
--- /dev/null
+++ b/package/ethtool/Makefile
@@ -0,0 +1,26 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= ethtool
+PKG_VERSION:= 5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 5df7f165974e096e2de890e099f87a12
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,ETHTOOL,ethtool,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_ETHTOOL}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/* ${IDIR_ETHTOOL}/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ethtool/ipkg/ethtool.control b/package/ethtool/ipkg/ethtool.control
new file mode 100644
index 000000000..2cc3f065c
--- /dev/null
+++ b/package/ethtool/ipkg/ethtool.control
@@ -0,0 +1,4 @@
+Package: ethtool
+Priority: optional
+Section: net
+Description: Display or change ethernet card settings