diff options
| author | Dominyk Tiller | 2014-11-08 05:58:29 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-08 12:35:32 +0000 |
| commit | 1ffa7bc330426a51180bdb9e72d0ab6da7373337 (patch) | |
| tree | 0381f3c6ca7ad4316fc6ab5edb9e956752deed0a | |
| parent | a0bf0ab0738447aeafb5c237b24ecbd18bc0af5a (diff) | |
| download | homebrew-1ffa7bc330426a51180bdb9e72d0ab6da7373337.tar.bz2 | |
arp-scan: added head
Makes the HEAD available through Homebrew, and adds an optional
dependency on Homebrew/Dupes’ libpcap for those who are super-keen to
live life on the edge.
Closes #34015.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/arp-scan.rb | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Library/Formula/arp-scan.rb b/Library/Formula/arp-scan.rb index ed1666d02..bc364138f 100644 --- a/Library/Formula/arp-scan.rb +++ b/Library/Formula/arp-scan.rb @@ -1,9 +1,10 @@ -require 'formula' +require "formula" class ArpScan < Formula - homepage 'http://www.nta-monitor.com/tools-resources/security-tools/arp-scan' - url 'http://www.nta-monitor.com/files/arp-scan/arp-scan-1.9.tar.gz' - sha1 '6bf698572b21242778df9d2019fd386b2a21a135' + homepage "http://www.nta-monitor.com/tools-resources/security-tools/arp-scan" + url "http://www.nta-monitor.com/files/arp-scan/arp-scan-1.9.tar.gz" + mirror "https://github.com/royhills/arp-scan/releases/download/1.9/arp-scan-1.9.tar.gz" + sha1 "6bf698572b21242778df9d2019fd386b2a21a135" bottle do sha1 "90cc962c894c21bddbaf2d88fe47c9fcef784c47" => :mavericks @@ -11,10 +12,20 @@ class ArpScan < Formula sha1 "9b693b9695209bec034828b827f8f84574492b34" => :lion end + head do + url "https://github.com/royhills/arp-scan.git" + + depends_on "automake" => :build + depends_on "autoconf" => :build + end + + depends_on "homebrew/dupes/libpcap" => :optional + def install + system "autoreconf", "--install" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" end test do |
