homebrew-core/Formula/chinadns-c.rb

22 lines
603 B
Ruby
Raw Normal View History

class ChinadnsC < Formula
homepage "https://github.com/clowwindy/ChinaDNS-C"
2015-01-10 17:44:35 +00:00
url "https://github.com/clowwindy/ChinaDNS/releases/download/1.2.2/chinadns-1.2.2.tar.gz"
sha1 "6498dacfce023d56699f80bcf1fed9fd9eda99d9"
2014-11-26 10:06:19 +00:00
bottle do
cellar :any
2015-01-12 07:40:39 +00:00
sha1 "0dbcdbbc318f54e3b5a9c848bb02c53cf170ddd4" => :yosemite
sha1 "e069b91a3284bb1305542dc8be0205a5804499bb" => :mavericks
sha1 "aa418b88cf95d41948bcecaaf6a007c6b32d0551" => :mountain_lion
2014-11-26 10:06:19 +00:00
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "chinadns", "-h"
end
end