homebrew-core/Formula/suricata.rb
John Manoogian III 96b793ffbc suricata: depends on libmagic
Closes Homebrew/homebrew#21604.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-02 09:55:28 -05:00

22 lines
580 B
Ruby

require 'formula'
class Suricata < Formula
homepage 'http://suricata-ids.org'
url 'http://www.openinfosecfoundation.org/download/suricata-1.4.5.tar.gz'
sha1 '723e111d19376dd352df4b50f3ee635a5328b01e'
depends_on :autoconf
depends_on :automake
depends_on :libtool
depends_on 'pkg-config' => :build
depends_on 'libmagic'
depends_on 'libnet'
depends_on 'libyaml'
depends_on 'pcre'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end