2011-12-08 17:37:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class ArpScan < Formula
|
2013-11-28 08:39:26 +00:00
|
|
|
homepage 'http://www.nta-monitor.com/tools-resources/security-tools/arp-scan'
|
2011-12-08 17:37:14 +00:00
|
|
|
url 'http://www.nta-monitor.com/tools/arp-scan/download/arp-scan-1.8.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '26ebf18eff367aaf99307841bec9e8b9e596c3bb'
|
2011-12-08 17:37:14 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/arp-scan", "-V"
|
2011-12-08 17:37:14 +00:00
|
|
|
end
|
|
|
|
end
|