homebrew-core/Formula/clamav.rb
Alex Bukin 9ee7c89ea4 clamav 0.97.7
Closes Homebrew/homebrew#18500.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-15 09:42:30 -07:00

18 lines
502 B
Ruby

require 'formula'
class Clamav < Formula
homepage 'http://www.clamav.net/'
url 'http://downloads.sourceforge.net/clamav/clamav-0.97.7.tar.gz'
sha1 '9b911c557e0b7b5079de86c65b5d83fa78fadfff'
def install
args = %W{--disable-dependency-tracking
--prefix=#{prefix}
--disable-zlib-vcheck
--libdir=#{lib}}
args << "--with-zlib=#{MacOS.sdk_path}/usr" unless MacOS::CLT.installed?
system "./configure", *args
system "make install"
end
end