66b3d9bbf2
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>
14 lines
368 B
Ruby
14 lines
368 B
Ruby
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
|