diff options
| author | Andrew Kraut | 2013-11-16 15:49:36 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-16 18:06:11 -0800 |
| commit | ca5e7cf5b9fe548973c4ae5b70f889916445a4c9 (patch) | |
| tree | 7802b6dc2f69faf2078f96018e301e830b2d79d5 /Library/Formula | |
| parent | 03286740ec1a628aeeefb1d506ad42a30e9dcd90 (diff) | |
| download | homebrew-ca5e7cf5b9fe548973c4ae5b70f889916445a4c9.tar.bz2 | |
dnsperf 2.0.0.0-1
Closes #24385.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dnsperf.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/dnsperf.rb b/Library/Formula/dnsperf.rb new file mode 100644 index 000000000..aa9f764fd --- /dev/null +++ b/Library/Formula/dnsperf.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Dnsperf < Formula + homepage 'http://nominum.com/support/measurement-tools/' + url 'ftp://ftp.nominum.com/pub/nominum/dnsperf/2.0.0.0/dnsperf-src-2.0.0.0-1.tar.gz' + sha1 'a0cf8f95de821a9ca1b7f8001e5ef7334e968540' + + depends_on 'bind' + depends_on 'libxml2' + + def install + system "./configure", "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/dnsperf -h" + system "#{bin}/resperf -h" + end +end |
