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
|
|
|
|
cellar :any
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "164485aab044141ce1a0234be59024888ce4ffcaff3a6fee610e1ff46ab7a43d" => :yosemite
|
|
|
|
sha256 "a7340ab0e7f90f369e7e6feb470475e551c38d0d257c49ee090bc5fc19b93861" => :mavericks
|
|
|
|
sha256 "e3ff55e6fc0d0297a2e96ea0f4004fbb05330d0ce3a8932073f020a26f79961d" => :mountain_lion
|
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
|