blob: 3341c975acf4ea4153afc8c1942972b2535e8fab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Yara < Formula
homepage 'http://code.google.com/p/yara-project/'
url 'http://yara-project.googlecode.com/files/yara-1.4.tar.gz'
md5 'ecc744a67482dc9d717936ccd69dc39f'
depends_on 'pcre'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|