homebrew-core/Formula/clamav.rb
Brett Koonce 00ed6893a1 clamav 0.97.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-04 09:25:24 -08: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.6.tar.gz'
sha1 '528f774b14b95fdfb8b377f8b41859c48b165e34'
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