2011-03-10 05:11:03 +00:00
|
|
|
class Arping < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Utility to check whether MAC addresses are already taken on a LAN"
|
2014-06-28 03:28:44 +00:00
|
|
|
homepage "https://github.com/ThomasHabets/arping"
|
2015-01-26 23:35:53 +00:00
|
|
|
url "https://github.com/ThomasHabets/arping/archive/arping-2.15.tar.gz"
|
|
|
|
sha1 "ed0b08a8c425a03b3ea52f0fb36be1a34d015b6c"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
2014-06-29 00:31:30 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-01-27 12:14:18 +00:00
|
|
|
sha1 "26495a7b0026c0299e83117199910caffc85a5b0" => :yosemite
|
|
|
|
sha1 "5214549465ff73bf0514b36249b9ceac4fba2903" => :mavericks
|
|
|
|
sha1 "14d70651ab3cb56b74a397c590fb5080e82c48df" => :mountain_lion
|
2014-06-29 00:31:30 +00:00
|
|
|
end
|
|
|
|
|
2014-06-28 03:28:44 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libnet"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-28 03:28:44 +00:00
|
|
|
system "./bootstrap.sh"
|
2015-01-26 23:35:53 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-02-13 03:55:14 +00:00
|
|
|
"--prefix=#{prefix}"
|
2015-01-26 23:35:53 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{sbin}/arping", "--help"
|
2010-04-21 19:08:43 +00:00
|
|
|
end
|
|
|
|
end
|