homebrew-core/Formula/clamav.rb
2014-05-19 23:53:12 -05:00

22 lines
667 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
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--libdir=#{lib}",
"--sysconfdir=#{etc}",
"--disable-zlib-vcheck",
"--with-zlib=#{MacOS.sdk_path}/usr"
system "make", "install"
end
end