aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorHeyward Fann2014-11-26 12:04:56 +0800
committerMike McQuaid2014-11-26 11:48:15 +0000
commit0d2deb5aba6d9c31ab68ab09b26d334fb920ba01 (patch)
tree3c2fb3e0854b259582e25aece93fd2ff97c5a4e8 /Library
parentd34ba14b735a5f50b46d908c7191b401495620c9 (diff)
downloadhomebrew-0d2deb5aba6d9c31ab68ab09b26d334fb920ba01.tar.bz2
chinadns-c 1.1.8 (new formula)
Closes #34459. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/chinadns-c.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/chinadns-c.rb b/Library/Formula/chinadns-c.rb
new file mode 100644
index 000000000..40ab38863
--- /dev/null
+++ b/Library/Formula/chinadns-c.rb
@@ -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