summaryrefslogtreecommitdiff
path: root/homebrew/ttyd/.beer
blob: fb037a4a82cf0a107332765852daeacbec6f1ed3 (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
{
    "name": "Ttyd",
    "description": "Command-line tool for sharing terminal over the web",
    "url": "https://github.com/tsl0922/ttyd/archive/1.4.2.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/tsl0922/ttyd",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "json-c",
            "build-depend": false
        },
        {
            "depend": "libwebsockets",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "cmake_args = std_cmake_args + [\"-DOPENSSL_ROOT_DIR=#{Formula[\"openssl\"].opt_prefix}\"]",
        "system \"cmake\", \".\", *cmake_args",
        "system \"make\", \"install\""
    ],
    "version": "1.4.2",
    "file": "ttyd.rb"
}