Skip to content

Commit

Permalink
New formula: nuttcp
Browse files Browse the repository at this point in the history
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 Homebrew#9840.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
Stefhen Hovland authored and jacknagel committed Mar 22, 2012
1 parent 63f11ed commit 31e4735
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Library/Formula/nuttcp.rb
@@ -0,0 +1,13 @@
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

0 comments on commit 31e4735

Please sign in to comment.