2011-12-08 17:37:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class ArpScan < Formula
|
|
|
|
homepage 'http://www.nta-monitor.com/tools/arp-scan/'
|
|
|
|
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
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/arp-scan", "-V"
|
2011-12-08 17:37:14 +00:00
|
|
|
end
|
|
|
|
end
|