summaryrefslogtreecommitdiff
path: root/homebrew/opentyrian/.beer
blob: 1b5e98ddbcb52d2baed2714754ca7b85b5f21bf5 (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": "OpenTyrian",
    "description": "Open-source port of Tyrian",
    "url": "https://www.camanis.net/opentyrian/releases/opentyrian-2.1.20130907-src.tar.gz",
    "mirror": null,
    "homepage": "https://bitbucket.org/opentyrian/opentyrian",
    "depends": [
        {
            "depend": "sdl",
            "build-depend": false
        },
        {
            "depend": "sdl_net",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "data",
            "url": "https://camanis.net/tyrian/tyrian21.zip"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "datadir = pkgshare/\"data\"",
        "datadir.install resource(\"data\")",
        "args = []",
        "if build.head?",
        "args << \"TYRIAN_DIR=#{datadir}\"",
        "else",
        "inreplace \"src/file.c\", \"/usr/share/opentyrian/data\", datadir",
        "end",
        "system \"make\", *args",
        "bin.install \"opentyrian\""
    ],
    "version": "2.1.20130907",
    "file": "open-tyrian.rb"
}