summaryrefslogtreecommitdiff
path: root/homebrew/dsocks/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dsocks/.make.sh-auto')
-rw-r--r--homebrew/dsocks/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/dsocks/.make.sh-auto b/homebrew/dsocks/.make.sh-auto
new file mode 100644
index 000000000..5e2ad8415
--- /dev/null
+++ b/homebrew/dsocks/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.cc ENV.cflags -shared -o libdsocks.dylib dsocks.c atomicio.c -lresolv
+inreplace "dsocks.sh", "/usr/local", HOMEBREW_PREFIX
+lib.install "libdsocks.dylib"
+bin.install "dsocks.sh"