summaryrefslogtreecommitdiff
path: root/homebrew/nghttp2/.beer
blob: ecb1b375ac843307665ed0f1d62e2948de1bd3b3 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
{
    "name": "Nghttp2",
    "description": "HTTP/2 C Library",
    "url": "https://github.com/nghttp2/nghttp2/releases/download/v1.37.0/nghttp2-1.37.0.tar.xz",
    "mirror": null,
    "homepage": "https://nghttp2.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "cunit",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "sphinx-doc",
            "build-depend": true
        },
        {
            "depend": "c-ares",
            "build-depend": false
        },
        {
            "depend": "jansson",
            "build-depend": false
        },
        {
            "depend": "jemalloc",
            "build-depend": false
        },
        {
            "depend": "libev",
            "build-depend": false
        },
        {
            "depend": "libevent",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.cxx11",
        "args = %W[",
        "--prefix=#{prefix}",
        "--disable-silent-rules",
        "--enable-app",
        "--disable-python-bindings",
        "--with-xml-prefix=/usr",
        "]",
        "args << \"--disable-threads\" if MacOS.version < :el_capitan",
        "system \"autoreconf\", \"-ivf\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\"",
        "system \"make\", \"check\"",
        "system \"make\", \"install\""
    ],
    "version": "1.37.0",
    "file": "nghttp2.rb"
}