2014-11-02 22:25:24 +00:00
|
|
|
require "formula"
|
2011-04-27 13:36:49 +00:00
|
|
|
|
|
|
|
class Adns < Formula
|
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"
|
|
|
|
sha1 "38306b8030c61a78bee85e33f34de876392ca4f8"
|
|
|
|
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
|
|
|
|
sha1 "c06199054fc9cbffc10f0cc3fe9068e6f67bf0f7" => :yosemite
|
|
|
|
sha1 "e448d98d144e981dc37ff926637d834997197170" => :mavericks
|
|
|
|
sha1 "cb85701fcdfc8c2ef2de0486b0df57111bf99f38" => :mountain_lion
|
|
|
|
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
|