2010-05-07 22:39:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Socat < Formula
|
2011-01-03 09:48:48 +00:00
|
|
|
url 'http://www.dest-unreach.org/socat/download/socat-1.7.1.3.tar.bz2'
|
2010-05-07 22:39:03 +00:00
|
|
|
homepage 'http://www.dest-unreach.org/socat/'
|
2011-01-03 09:48:48 +00:00
|
|
|
md5 '2081987fb0cb0290b8105574058cb329'
|
2010-05-07 22:39:03 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.enable_warnings # -wall causes build to fail
|
|
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|