blob: aa9f764fd7b755c8b2d7bde0e625d9a817a6a911 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
 |