homebrew-core/Formula/netcat.rb

17 lines
511 B
Ruby
Raw Normal View History

require 'formula'
2009-10-07 21:59:47 +00:00
2011-03-10 05:11:03 +00:00
class Netcat < Formula
2013-01-28 06:07:40 +00:00
homepage 'http://netcat.sourceforge.net/'
2009-10-07 21:59:47 +00:00
url 'http://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2'
sha1 'b761d70fe9e3e8b3fe33a329b9bc31300dc04d11'
2009-10-07 21:59:47 +00:00
def install
2013-01-28 06:07:40 +00:00
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
2013-01-28 06:07:40 +00:00
"--infodir=#{info}"
2009-10-07 21:59:47 +00:00
system "make install"
end
end