aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/socat.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/socat.rb b/Library/Formula/socat.rb
new file mode 100644
index 000000000..479c99715
--- /dev/null
+++ b/Library/Formula/socat.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Socat <Formula
+ url 'http://www.dest-unreach.org/socat/download/socat-1.7.1.2.tar.bz2'
+ homepage 'http://www.dest-unreach.org/socat/'
+ md5 '9c0c5e83ce665f38d4d3aababad275eb'
+
+ def install
+ ENV.enable_warnings # -wall causes build to fail
+ system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}"
+ system "make install"
+ end
+end