summaryrefslogtreecommitdiff
path: root/homebrew/clamav/.beer
blob: 7b428dedd4bebf528ab354a72b1972de0de9a4c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
    "name": "Clamav",
    "description": "Anti-virus software",
    "url": "https://www.clamav.net/downloads/production/clamav-0.101.2.tar.gz",
    "mirror": null,
    "homepage": "https://www.clamav.net/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "json-c",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "pcre",
            "build-depend": false
        },
        {
            "depend": "yara",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = %W[",
        "--disable-dependency-tracking",
        "--disable-silent-rules",
        "--prefix=#{prefix}",
        "--libdir=#{lib}",
        "--sysconfdir=#{etc}/clamav",
        "--disable-zlib-vcheck",
        "--enable-llvm=no",
        "--with-libjson=#{Formula[\"json-c\"].opt_prefix}",
        "--with-openssl=#{Formula[\"openssl\"].opt_prefix}",
        "--with-pcre=#{Formula[\"pcre\"].opt_prefix}",
        "--with-zlib=#{MacOS.sdk_path_if_needed}/usr",
        "]",
        "pkgshare.mkpath",
        "system \"autoreconf\", \"-fvi\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "0.101.2",
    "file": "clamav.rb"
}