summaryrefslogtreecommitdiff
path: root/homebrew/chinadnsc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/chinadnsc')
-rw-r--r--homebrew/chinadnsc/.beer27
-rw-r--r--homebrew/chinadnsc/.make.sh-auto3
-rw-r--r--homebrew/chinadnsc/_metadata/description1
-rw-r--r--homebrew/chinadnsc/_metadata/homepage1
-rw-r--r--homebrew/chinadnsc/_metadata/name1
-rw-r--r--homebrew/chinadnsc/_metadata/version1
-rwxr-xr-xhomebrew/chinadnsc/download.sh1
7 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/chinadnsc/.beer b/homebrew/chinadnsc/.beer
new file mode 100644
index 000000000..e2bd948ac
--- /dev/null
+++ b/homebrew/chinadnsc/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "ChinadnsC",
+ "description": "Port of ChinaDNS to C: fix irregularities with DNS in China",
+ "url": "https://github.com/shadowsocks/ChinaDNS/releases/download/1.3.2/chinadns-1.3.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/shadowsocks/ChinaDNS",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.3.2",
+ "file": "chinadns-c.rb"
+} \ No newline at end of file
diff --git a/homebrew/chinadnsc/.make.sh-auto b/homebrew/chinadnsc/.make.sh-auto
new file mode 100644
index 000000000..abf08b27d
--- /dev/null
+++ b/homebrew/chinadnsc/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/chinadnsc/_metadata/description b/homebrew/chinadnsc/_metadata/description
new file mode 100644
index 000000000..bf41d4ea8
--- /dev/null
+++ b/homebrew/chinadnsc/_metadata/description
@@ -0,0 +1 @@
+Port of ChinaDNS to C: fix irregularities with DNS in China
diff --git a/homebrew/chinadnsc/_metadata/homepage b/homebrew/chinadnsc/_metadata/homepage
new file mode 100644
index 000000000..ff69602ea
--- /dev/null
+++ b/homebrew/chinadnsc/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/shadowsocks/ChinaDNS
diff --git a/homebrew/chinadnsc/_metadata/name b/homebrew/chinadnsc/_metadata/name
new file mode 100644
index 000000000..644fa33a7
--- /dev/null
+++ b/homebrew/chinadnsc/_metadata/name
@@ -0,0 +1 @@
+ChinadnsC
diff --git a/homebrew/chinadnsc/_metadata/version b/homebrew/chinadnsc/_metadata/version
new file mode 100644
index 000000000..1892b9267
--- /dev/null
+++ b/homebrew/chinadnsc/_metadata/version
@@ -0,0 +1 @@
+1.3.2
diff --git a/homebrew/chinadnsc/download.sh b/homebrew/chinadnsc/download.sh
new file mode 100755
index 000000000..f52c54f6a
--- /dev/null
+++ b/homebrew/chinadnsc/download.sh
@@ -0,0 +1 @@
+wget https://github.com/shadowsocks/ChinaDNS/releases/download/1.3.2/chinadns-1.3.2.tar.gz \ No newline at end of file