chinadns-c 1.1.8 (new formula)

Closes Homebrew/homebrew#34459.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Heyward Fann 2014-11-26 12:04:56 +08:00 committed by Mike McQuaid
parent c00f9c4173
commit 3d747156c1

16
Formula/chinadns-c.rb Normal file
View file

@ -0,0 +1,16 @@
require "formula"
class ChinadnsC < Formula
homepage "https://github.com/clowwindy/ChinaDNS-C"
url "https://github.com/clowwindy/ChinaDNS-C/releases/download/1.1.8/chinadns-c-1.1.8.tar.gz"
sha1 "e712aab436e555a242f6c3c8acd7474b0b445bf1"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "chinadns", "-h"
end
end