summaryrefslogtreecommitdiff
path: root/homebrew/squid/.beer
blob: ef43c4ce6d7d313fbcee9b5e1664684a2cac7b6a (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
{
    "name": "Squid",
    "description": "Advanced proxy caching server for HTTP, HTTPS, FTP, and Gopher",
    "url": "http://www.squid-cache.org/Versions/v4/squid-4.5.tar.xz",
    "mirror": null,
    "homepage": "http://www.squid-cache.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.append \"LDFLAGS\", \"-lresolv\"",
        "args = %W[",
        "--disable-debug",
        "--disable-dependency-tracking",
        "--prefix=#{prefix}",
        "--localstatedir=#{var}",
        "--sysconfdir=#{etc}",
        "--enable-ssl",
        "--enable-ssl-crtd",
        "--disable-eui",
        "--enable-pf-transparent",
        "--with-included-ltdl",
        "--with-openssl",
        "--enable-delay-pools",
        "--enable-disk-io=yes",
        "--enable-removal-policies=yes",
        "--enable-storeio=yes",
        "]",
        "system \"./bootstrap.sh\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "4.5",
    "file": "squid.rb"
}