mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
nuttcp is a network performance measurement tool intended for use by network and system managers. Its most basic usage is to determine the raw TCP (or UDP) network layer throughput by transferring memory buffers from a source system across an interconnecting network to a destination system, either transferring data for a specified time interval, or alternatively transferring a specified number of bytes. Closes #9840. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
14 lines
362 B
Ruby
14 lines
362 B
Ruby
require 'formula'
|
|
|
|
class Nuttcp < Formula
|
|
homepage 'http://www.nuttcp.net/nuttcp'
|
|
url 'ftp://ftp.lcp.nrl.navy.mil/pub/nuttcp/nuttcp-6.1.2.tar.bz2'
|
|
md5 'a16d4d6d5def02cea980e57feaf30500'
|
|
|
|
def install
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
|
bin.install 'nuttcp-6.1.2' => 'nuttcp'
|
|
man8.install 'nuttcp.cat' => 'nuttcp.8'
|
|
end
|
|
end
|