diff options
| author | Ian Gallagher | 2010-05-07 15:39:03 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-07 21:09:58 -0700 |
| commit | 6f656c7594ece95186ef624d149c2d07dbfa3680 (patch) | |
| tree | 0f337d373e056c09e330e80039004612dcdfcb60 /Library | |
| parent | a16541f74652a82b5f8786c3f97756ac6e44703a (diff) | |
| download | homebrew-6f656c7594ece95186ef624d149c2d07dbfa3680.tar.bz2 | |
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
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/socat.rb | 13 |
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 |
