2011-04-27 13:36:49 +00:00
|
|
|
class Adns < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C/C++ resolver library and DNS resolver utilities"
|
2014-11-02 22:25:24 +00:00
|
|
|
homepage "http://www.chiark.greenend.org.uk/~ian/adns/"
|
|
|
|
url "http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.5.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "7fc5eb4d315111a3a3a3f45ff143339ad4050185fbe6bff687f21364cb4ae841"
|
2014-11-02 22:25:24 +00:00
|
|
|
head "git://git.chiark.greenend.org.uk/~ianmdlvl/adns.git"
|
2011-04-27 13:36:49 +00:00
|
|
|
|
2014-11-02 22:35:46 +00:00
|
|
|
bottle do
|
2016-02-16 00:23:42 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "b2534e08973313ece99276f31d01384fff14568a078949614ea2d67189e4c0b1" => :el_capitan
|
|
|
|
sha256 "9b9728bd1f4d0c491ab8b2a2343cc0bd8f9817e60944e3dcca01915cf5b9d55c" => :yosemite
|
|
|
|
sha256 "5d0c4286ace0fa748e02052a865f36bc16fc2e57787701c47240c06567a2fd13" => :mavericks
|
2014-11-02 22:35:46 +00:00
|
|
|
end
|
|
|
|
|
2011-04-27 13:36:49 +00:00
|
|
|
def install
|
2014-11-02 22:25:24 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dynamic"
|
2011-04-27 13:36:49 +00:00
|
|
|
system "make"
|
2014-11-02 22:25:24 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/adnsheloex", "--version"
|
2011-04-27 13:36:49 +00:00
|
|
|
end
|
|
|
|
end
|