aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorachiu2010-02-05 11:16:36 -0800
committerDavid Höppner2010-02-08 18:09:04 +0100
commitb15d7e123b0f10d397ce6ebcfc12aeec6d0e9b86 (patch)
tree5572a41b836f2a84ebc762876074343feee9a0e9 /Library/Formula
parentf928547d1e6a214ea9193dad8e4e06ca3b3819a3 (diff)
downloadhomebrew-b15d7e123b0f10d397ce6ebcfc12aeec6d0e9b86.tar.bz2
New formula tcpdump
Signed-off-by: David Höppner <0xffea@gmail.com> * head version
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpdump.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/tcpdump.rb b/Library/Formula/tcpdump.rb
new file mode 100644
index 000000000..2c49bfd23
--- /dev/null
+++ b/Library/Formula/tcpdump.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Tcpdump <Formula
+ head 'git://github.com/mcr/tcpdump.git'
+ homepage 'http://www.tcpdump.org/'
+
+ depends_on 'libpcap'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking","--disable-smb"
+ system "make install"
+ end
+end