aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-28 02:03:43 +0000
committerTim D. Smith2014-11-27 20:22:33 -0800
commit45e74accbe8f9c06104af4eb8ec641b3e8b67a18 (patch)
treefa691d81a7cbca59dc899cc69e8e1526af3fb88c /Library/Formula
parente89d1e754a4cee8a473c7ebbe1254e92d41df21e (diff)
downloadhomebrew-45e74accbe8f9c06104af4eb8ec641b3e8b67a18.tar.bz2
yara 3.2.0
Closes #34409. Closes #34509. Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yara.rb30
1 files changed, 16 insertions, 14 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb
index 2a6853ffd..66b7af6e6 100644
--- a/Library/Formula/yara.rb
+++ b/Library/Formula/yara.rb
@@ -1,27 +1,29 @@
-require 'formula'
+require "formula"
class Yara < Formula
- homepage 'https://github.com/plusvic/yara/'
- url 'https://github.com/plusvic/yara/archive/v3.0.0.tar.gz'
- sha1 '43e7e0df03043cab1ab8299ef7ebee4d2c5d39dc'
+ homepage "https://github.com/plusvic/yara/"
+ url "https://github.com/plusvic/yara/archive/v3.2.0.tar.gz"
+ sha1 "dd1a92b1469cd629f6cd368aec32f207375b125b"
+ head "https://github.com/plusvic/yara.git"
- depends_on 'pcre'
- depends_on 'libtool' => :build
- depends_on 'autoconf' => :build
- depends_on 'automake' => :build
+ depends_on "libtool" => :build
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "pcre"
+ depends_on "openssl"
def install
- # Use of 'inline' requires gnu89 semantics
- ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang
+ # Use of "inline" requires gnu89 semantics
+ ENV.append "CFLAGS", "-std=gnu89" if ENV.compiler == :clang
- # find Homebrew's libpcre
- ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_lib} -lpcre"
+ # find Homebrew"s libpcre
+ ENV.append "LDFLAGS", "-L#{Formula["pcre"].opt_lib} -lpcre"
system "./bootstrap.sh"
- system "./configure", "--disable-debug",
+ system "./configure", "--disable-silent-rules",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
end
test do