2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-07 21:59:47 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Netcat < Formula
|
2009-10-07 21:59:47 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b761d70fe9e3e8b3fe33a329b9bc31300dc04d11'
|
2009-10-07 21:59:47 +00:00
|
|
|
homepage 'http://netcat.sourceforge.net/'
|
|
|
|
|
|
|
|
def install
|
2010-02-19 23:47:21 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--infodir=#{info}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking"
|
2009-10-07 21:59:47 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|