homebrew-core/Formula/arping.rb

29 lines
945 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Arping < Formula
desc "Utility to check whether MAC addresses are already taken on a LAN"
homepage "https://github.com/ThomasHabets/arping"
url "https://github.com/ThomasHabets/arping/archive/arping-2.16.tar.gz"
sha256 "6fd444250dd8ab9eca7d14f32fb1072d5a0c6e4a4f0846c87bfbc99f93d2d648"
2014-06-29 00:31:30 +00:00
bottle do
cellar :any
2015-12-17 10:19:21 +00:00
sha256 "cfa1992d42e786f9677c5009270ce42dbce4c52e3d63563481ea6b1298d12e72" => :el_capitan
sha256 "4302dd151fe2fb5bb0f92f970f1f05f1f2a105267fdb1d94aa3d393601f9fa0f" => :yosemite
sha256 "7253bcac9acd7c7f09d5904a6e525c7adc16c63972a6e3019ae33679d1ad1d45" => :mavericks
2014-06-29 00:31:30 +00:00
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libnet"
def install
system "./bootstrap.sh"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{sbin}/arping", "--help"
end
end