aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRon Rosson2010-07-26 13:37:46 -0500
committerAdam Vandenberg2010-07-26 12:05:54 -0700
commit540161e8fef9def36fd768ea345804969efa604d (patch)
tree92ab0507f435e253d0baa9acf83afef13aedc5e0 /Library
parent9fe59f6c69adc80484301a055549f263ea8e7f27 (diff)
downloadhomebrew-540161e8fef9def36fd768ea345804969efa604d.tar.bz2
Add formula for YARA
YARA is a tool aimed at helping malware researchers to identify and classify malware samples. With YARA you can create descriptions of malware families based on textual or binary patterns contained on samples of those families. Each description consists of a set of strings and a Boolean expression which determines its logic. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yara.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb
new file mode 100644
index 000000000..b49a32b0b
--- /dev/null
+++ b/Library/Formula/yara.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Yara <Formula
+ url 'http://yara-project.googlecode.com/files/yara-1.4.tar.gz'
+ homepage 'http://code.google.com/p/yara-project/'
+ md5 'ecc744a67482dc9d717936ccd69dc39f'
+
+ depends_on 'pcre'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end