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'
|
2014-06-29 03:28:44 +00:00
|
|
|
url 'http://www.nta-monitor.com/files/arp-scan/arp-scan-1.9.tar.gz'
|
|
|
|
sha1 '6bf698572b21242778df9d2019fd386b2a21a135'
|
2011-12-08 17:37:14 +00:00
|
|
|
|
2014-06-29 03:47:43 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "90cc962c894c21bddbaf2d88fe47c9fcef784c47" => :mavericks
|
|
|
|
sha1 "25fca5b74656e3facbd40963e550042a993f4cac" => :mountain_lion
|
|
|
|
sha1 "9b693b9695209bec034828b827f8f84574492b34" => :lion
|
|
|
|
end
|
|
|
|
|
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
|