mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
21 lines
560 B
Ruby
21 lines
560 B
Ruby
require 'package'
|
|
|
|
class Nmap < Package
|
|
description 'Nmap (\'Network Mapper\') is a free and open source (license) utility for network discovery and security auditing.'
|
|
homepage 'https://nmap.org/'
|
|
version '7.31'
|
|
source_url 'https://nmap.org/dist/nmap-7.31.tgz'
|
|
source_sha1 'ccf1bb34463f39a645d9a924ce9e3c9e15eefbbf'
|
|
|
|
depends_on 'buildessential'
|
|
|
|
def self.build
|
|
system "./configure --with-pcap=linux --without-zenmap"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|