aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/arping.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/arping.rb')
-rw-r--r--Library/Formula/arping.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/arping.rb b/Library/Formula/arping.rb
index e6a02df7a..a32832d70 100644
--- a/Library/Formula/arping.rb
+++ b/Library/Formula/arping.rb
@@ -8,6 +8,11 @@ class Arping <Formula
depends_on 'libnet'
+ def patches
+ # Patch removes header conflict with libpcap; arping 2.x uses libnet
+ DATA
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
@@ -15,16 +20,10 @@ class Arping <Formula
inreplace 'Makefile' do |s|
s.change_make_var! "LIBS", " -lnet"
end
-
+
system "make"
system "make install"
end
-
- def patches
- # Patch removes header conflict with libpcap
- # arping 2.x uses libnet
- DATA
- end
end
__END__