chinadns-c 1.1.8 (new formula)
Closes Homebrew/homebrew#34459. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
c00f9c4173
commit
3d747156c1
1 changed files with 16 additions and 0 deletions
16
Formula/chinadns-c.rb
Normal file
16
Formula/chinadns-c.rb
Normal 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
|
Loading…
Reference in a new issue