aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Turnbull2011-10-31 13:28:19 +1100
committerAdam Vandenberg2012-02-18 18:58:13 -0800
commit6cf24fb816b3494a5b4f71e35e4aa50c0ab8bc7a (patch)
tree198360a69d122c47256c0ffdeb81609f256eaa91 /Library
parent71b10a04ce4a389e8f2c9e11cf58c98492e5a39e (diff)
downloadhomebrew-6cf24fb816b3494a5b4f71e35e4aa50c0ab8bc7a.tar.bz2
bro 2.0
Closes #8380. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bro.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/bro.rb b/Library/Formula/bro.rb
new file mode 100644
index 000000000..2fef23519
--- /dev/null
+++ b/Library/Formula/bro.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Bro < Formula
+ url 'http://www.bro-ids.org/downloads/release/bro-2.0.tar.gz'
+ homepage 'http://www.bro-ids.org/'
+ md5 '2ea82a7b4cabf3ff70e26085494e527f'
+
+ depends_on 'cmake' => :build
+ depends_on 'swig' => :build
+ depends_on 'libmagic'
+
+ def install
+ # Ruby bindings not building for me on 10.6 - @adamv
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-ruby"
+ system "make install"
+ end
+end