summaryrefslogtreecommitdiff
path: root/homebrew/cdogssdl/.beer
blob: 00adbedbcb5e3ce9b03aea2a4c452cfd792f4135 (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
{
    "name": "CdogsSdl",
    "description": "Classic overhead run-and-gun game",
    "url": "https://github.com/cxong/cdogs-sdl/archive/0.6.9.tar.gz",
    "mirror": null,
    "homepage": "https://cxong.github.io/cdogs-sdl/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "sdl2",
            "build-depend": false
        },
        {
            "depend": "sdl2_image",
            "build-depend": false
        },
        {
            "depend": "sdl2_mixer",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = std_cmake_args",
        "args << \"-DCDOGS_DATA_DIR=#{pkgshare}/\"",
        "system \"cmake\", \".\", *args",
        "system \"make\"",
        "bin.install %w[src/cdogs-sdl src/cdogs-sdl-editor]",
        "pkgshare.install %w[data dogfights graphics missions music sounds]",
        "doc.install Dir[\"doc/*\"]"
    ],
    "version": "0.6.9",
    "file": "cdogs-sdl.rb"
}