summaryrefslogtreecommitdiff
path: root/homebrew/instead/.beer
blob: 353de597d6adfc9660bfe55c50d163caea8d3107 (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
{
    "name": "Instead",
    "description": "Interpreter of simple text adventures",
    "url": "https://github.com/instead-hub/instead/archive/3.3.0.tar.gz",
    "mirror": null,
    "homepage": "https://instead.syscall.ru/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "lua",
            "build-depend": false
        },
        {
            "depend": "sdl2",
            "build-depend": false
        },
        {
            "depend": "sdl2_image",
            "build-depend": false
        },
        {
            "depend": "sdl2_mixer",
            "build-depend": false
        },
        {
            "depend": "sdl2_ttf",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/instead-hub/instead/commit/e00be1e2.patch?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "mkdir \"build\" do",
        "system \"cmake\", \"..\", \"-DWITH_GTK2=OFF\",",
        "\"-DLUA_INCLUDE_DIR=#{Formula[\"lua\"].opt_include}/lua\",",
        "\"-DLUA_LIBRARY=#{Formula[\"lua\"].opt_lib}/liblua.dylib\",",
        "*std_cmake_args",
        "system \"make\", \"install\""
    ],
    "version": "3.3.0",
    "file": "instead.rb"
}