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/"
|
2017-01-14 14:43:33 +00:00
|
|
|
url "http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.5.1.tar.gz"
|
|
|
|
sha256 "5b1026f18b8274be869245ed63427bf8ddac0739c67be12c4a769ac948824eeb"
|
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
|
2017-01-14 14:50:34 +00:00
|
|
|
sha256 "3bbd0cc0bc05c228746629760bcd027bbe90aa54e3b79fc2d4553e7fd5900d44" => :sierra
|
|
|
|
sha256 "90fd1e0e102f446de1e647f2c3ec9f0dd6c5df190dcbdd9f1136bb90e344d730" => :el_capitan
|
|
|
|
sha256 "9c5974b93f921e8d6c735ca6722d83d94d5a501d301d337177741f4a2a8f9128" => :yosemite
|
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
|