New package: nuttcp
PATCH 1/1 New package: nuttcp
Add a new TCP/UDP network testing tool, that provides some advanced features compared to ttcp.
Signed-off-by Yegor Yefremov <[email protected]>
package/Config.in +1 -0
@@ -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"
package/nuttcp/Config.in new file +5 -0
@@ -0,0 +1,5 @@ +config BR2_PACKAGE_NUTTCP + bool "nuttcp" + help + nuttcp is a TCP/UDP network testing tool, much like iperf +
package/nuttcp/nuttcp.mk new file +29 -0
@@ -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)) +
PATCH 1/1 New package: nuttcp
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yegor" == Yegor Yefremov <[email protected]> writes:
Yegor> Add a new TCP/UDP network testing tool, that provides some advanced Yegor> features compared to ttcp.
Thanks, committed with minor changes.
Signature · 1 line
Bye, Peter Korsgaard