2011-10-31 02:28:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Bro < Formula
|
|
|
|
homepage 'http://www.bro-ids.org/'
|
2014-06-17 12:49:03 +00:00
|
|
|
url 'http://www.bro-ids.org/downloads/release/bro-2.3.tar.gz'
|
|
|
|
sha1 '79397be0e351165d44047b044d29b5e6580532cc'
|
2011-10-31 02:28:19 +00:00
|
|
|
|
2014-06-17 13:31:25 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "8aa75265faa2f23b73f7b27b7e495d79c60447d7" => :mavericks
|
|
|
|
sha1 "322c30d872bfe4271d113f8c54fad4fd7476f899" => :mountain_lion
|
|
|
|
sha1 "cf5fe821b85cfac5d8e4ebd86df37a7c75cf95cc" => :lion
|
|
|
|
end
|
|
|
|
|
2011-10-31 02:28:19 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'swig' => :build
|
2013-11-17 23:29:35 +00:00
|
|
|
depends_on 'geoip' => :recommended
|
2011-10-31 02:28:19 +00:00
|
|
|
|
|
|
|
def install
|
2013-11-17 23:13:05 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2011-10-31 02:28:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|