2012-03-11 03:32:56 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a83f086cc9fbe802dfd0ff3b6631acf29461b75e'
|
2012-03-11 03:32:56 +00:00
|
|
|
|
|
|
|
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
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/web100clt", "-v"
|
2012-03-11 03:32:56 +00:00
|
|
|
end
|
|
|
|
end
|