homebrew-core/Formula/nmap.rb
Kevin M. Dulzo c445c38376 Update nmap to 5.21.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-01-30 10:55:35 -08:00

18 lines
443 B
Ruby

require 'formula'
class Nmap <Formula
@url='http://nmap.org/dist/nmap-5.21.tar.bz2'
@homepage='http://nmap.org/5/'
@md5='f77fa51d89ab27d35e5cd87bb086b858'
def install
ENV.gcc_4_2
ENV.deparallelize
system "./configure", "--prefix=#{prefix}",
"--without-zenmap"
system "make"
system "make install" # seperate steps required otherwise the build fails
end
end