homebrew-core/Formula/clamav.rb
David Christenson 2df9d6797d clamav 0.98.3
clamav 0.98.3

Update to latest stable version, remove unnecessary patch, add head
link.

Closes Homebrew/homebrew#29157.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-12 07:15:02 -07:00

25 lines
642 B
Ruby

require "formula"
class Clamav < Formula
homepage "http://www.clamav.net/"
url "https://downloads.sourceforge.net/clamav/clamav-0.98.3.tar.gz"
sha1 "32f0a0675f8023b20e1d19fe8592e330674d0551"
head "https://github.com/vrtadmin/clamav-devel"
skip_clean "share"
def install
(share/"clamav").mkpath
args = %W{--disable-dependency-tracking
--prefix=#{prefix}
--disable-zlib-vcheck
--libdir=#{lib}
--sysconfdir=#{etc}}
args << "--with-zlib=#{MacOS.sdk_path}/usr" unless MacOS::CLT.installed?
system "./configure", *args
system "make", "install"
end
end