summaryrefslogtreecommitdiff
path: root/homebrew/h2o/.beer
blob: b9e88501f95840f0cd5e87498855db64994caa45 (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
{
    "name": "H2o",
    "description": "HTTP server with support for HTTP/1.x and HTTP/2",
    "url": "https://github.com/h2o/h2o/archive/v2.2.5.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/h2o/h2o/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.delete(\"SDKROOT\")",
        "system \"cmake\", *std_cmake_args,",
        "\"-DWITH_BUNDLED_SSL=OFF\",",
        "\"-DOPENSSL_ROOT_DIR=#{Formula[\"openssl\"].opt_prefix}\"",
        "system \"make\", \"install\"",
        "(etc/\"h2o\").mkpath",
        "(var/\"h2o\").install \"examples/doc_root/index.html\"",
        "(buildpath/\"brew/h2o.conf\").write conf_example",
        "(etc/\"h2o\").install buildpath/\"brew/h2o.conf\"",
        "pkgshare.install \"examples\""
    ],
    "version": "2.2.5",
    "file": "h2o.rb"
}