homebrew-core/Formula/web100clt.rb
Ian Gable 4aede117c8 web100clt 3.6.4
web100clt can be used to perform a network measurement from client to
NDT server. The client can be used to determine available bandwidth in
addition to detecting a number of problems such as duplex mismatch and
incorrectly set TCP buffers.

Closes Homebrew/homebrew#10855.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-12 21:44:23 -07:00

27 lines
700 B
Ruby

require 'formula'
class Web100clt < Formula
homepage 'http://www.internet2.edu/performance/ndt/'
url 'http://software.internet2.edu/sources/ndt/ndt-3.6.4.tar.gz'
md5 '098d9d55536b8a0ab07ef13eb15b7fd4'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
# we only want to build the web100clt client so we need
# to change to the src directory before installing.
cd 'src' do
system "make install"
end
cd 'doc' do
man1.install 'web100clt.man' => 'web100clt.1'
end
end
def test
system "#{bin}/web100clt -v"
end
end