New formula: socat (1.7.1.2)

* Added a new formula for socat 1.7.1.2 (latest stable build)
  * Pretty simplistic, based more or less on wget's formula.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Just enable warnings instead of clearing all cflags
master
Ian Gallagher 2010-05-07 15:39:03 -07:00 committed by Adam Vandenberg
parent 5aeb8f0370
commit 4503950db1
1 changed files with 13 additions and 0 deletions

13
Formula/socat.rb Normal file
View File

@ -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