Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New package: nuttcp
Date: Fri, 08 Oct 2010 12:26:20 +0200	[thread overview]
Message-ID: <4CAEF1CC.507@visionsystems.de> (raw)

Add a new TCP/UDP network testing tool, that provides some advanced
features compared to ttcp.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Index: b/package/Config.in
===================================================================
--- a/package/Config.in	2010-10-08 11:40:33.000000000 +0200
+++ b/package/Config.in	2010-10-08 11:48:04.000000000 +0200
@@ -28,6 +28,7 @@
 source "package/oprofile/Config.in"
 source "package/strace/Config.in"
 source "package/valgrind/Config.in"
+source "package/nuttcp/Config.in"
 endmenu
 
 menu "Development tools"
Index: b/package/nuttcp/Config.in
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ b/package/nuttcp/Config.in	2010-10-08 11:48:04.000000000 +0200
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_NUTTCP
+	bool "nuttcp"
+	help
+	  nuttcp is a TCP/UDP network testing tool, much like iperf
+
Index: b/package/nuttcp/nuttcp.mk
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ b/package/nuttcp/nuttcp.mk	2010-10-08 12:19:08.000000000 +0200
@@ -0,0 +1,29 @@
+#############################################################
+#
+# nuttcp
+#
+#############################################################
+
+NUTTCP_VERSION = 6.1.2
+NUTTCP_SITE = http://www.lcp.nrl.navy.mil/nuttcp/
+NUTTCP_SOURCE = nuttcp-$(NUTTCP_VERSION).tar.bz2
+
+define NUTTCP_CONFIGURE_CMDS
+	touch $(@D)/.stamp_configured
+endef
+
+define NUTTCP_BUILD_CMDS
+	$(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
+endef
+
+define NUTTCP_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 $(@D)/nuttcp-$(NUTTCP_VERSION) \
+		$(TARGET_DIR)/usr/bin/nuttcp
+endef
+
+define NUTTCP_UNINSTALL_TARGET_CMDS
+	rm -f $(TARGET_DIR)/usr/bin/nuttcp
+endef
+
+$(eval $(call GENTARGETS,package,nuttcp))
+

             reply	other threads:[~2010-10-08 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08 10:26 Yegor Yefremov [this message]
2010-11-05 15:53 ` [Buildroot] [PATCH] New package: nuttcp Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CAEF1CC.507@visionsystems.de \
    --to=yegor_sub1@visionsystems.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox