homebrew-core/Formula/adns.rb

25 lines
874 B
Ruby
Raw Normal View History

class Adns < Formula
desc "C/C++ resolver library and DNS resolver utilities"
homepage "http://www.chiark.greenend.org.uk/~ian/adns/"
url "http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.5.1.tar.gz"
sha256 "5b1026f18b8274be869245ed63427bf8ddac0739c67be12c4a769ac948824eeb"
head "git://git.chiark.greenend.org.uk/~ianmdlvl/adns.git"
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
def install
system "./configure", "--prefix=#{prefix}", "--disable-dynamic"
system "make"
system "make", "install"
end
test do
system "#{bin}/adnsheloex", "--version"
end
end