2012-04-03 04:08:28 +00:00
|
|
|
class Grok < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Powerful pattern-matching/reacting too"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://github.com/jordansissel/grok"
|
|
|
|
url "https://github.com/jordansissel/grok/archive/v0.9.2.tar.gz"
|
|
|
|
sha256 "40edbdba488ff9145832c7adb04b27630ca2617384fbef2af014d0e5a76ef636"
|
|
|
|
head "https://github.com/jordansissel/grok.git"
|
2012-04-03 04:08:28 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "libevent"
|
|
|
|
depends_on "pcre"
|
|
|
|
depends_on "tokyo-cabinet"
|
2012-04-03 04:08:28 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "grok"
|
2012-04-03 04:08:28 +00:00
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
|
|
end
|
|
|
|
end
|