homebrew-core/Formula/clamav.rb

19 lines
502 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Clamav < Formula
2010-04-02 17:11:36 +00:00
homepage 'http://www.clamav.net/'
url 'http://downloads.sourceforge.net/clamav/clamav-0.97.5.tar.gz'
sha1 '1bb317ead4a1a677a9a11a063fc35a63f22309e9'
def install
2012-08-31 19:24:38 +00:00
args = %W{--disable-dependency-tracking
--prefix=#{prefix}
--disable-zlib-vcheck
--libdir=#{lib}}
2012-08-31 19:24:38 +00:00
args << "--with-zlib=#{MacOS.sdk_path}/usr" unless MacOS::CLT.installed?
system "./configure", *args
system "make install"
end
end