added clamav package

This commit is contained in:
Jan Baudisch
2017-04-18 17:08:54 +02:00
parent f1cc322e7b
commit 013e2e244d

16
packages/clamav.rb Normal file
View File

@@ -0,0 +1,16 @@
require 'package'
class Clamav < Package
version '0.99.2'
source_url 'https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz'
source_sha1 'c1a47411834d8527f7b40727aebee63f01d488af'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end