homebrew-core/Formula/chinadns-c.rb

23 lines
750 B
Ruby
Raw Normal View History

class ChinadnsC < Formula
desc "Port of ChinaDNS to C: fix irregularities with DNS in China"
homepage "https://github.com/clowwindy/ChinaDNS-C"
url "https://github.com/clowwindy/ChinaDNS/releases/download/1.3.1/chinadns-1.3.1.tar.gz"
sha1 "3bb6a7dd69c44e99e5794690cbc0efd4b73b7c4b"
2014-11-26 10:06:19 +00:00
bottle do
cellar :any
2015-04-15 12:21:51 +00:00
sha256 "5f4c5283c7230f2a7368da43db1a5ac6c5b4adadb4dea9a2e601dfa97d3b5337" => :yosemite
sha256 "3b0298252c265079645530d03ab1ebdd784aabdd2445aa0b3dbdf75f93d47b2e" => :mavericks
sha256 "1c6594b10d571de1d838869f684fef343c6da4431cfc1294e0950ee19f823f00" => :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