summaryrefslogtreecommitdiff
path: root/homebrew/uade/.beer
blob: 06b863b96a3d9a4bd9a047d6474a544f8d629650 (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
52
53
54
55
56
57
58
59
60
61
{
    "name": "Uade",
    "description": "Play Amiga tunes through UAE emulation",
    "url": "http://zakalwe.fi/uade/uade2/uade-2.13.tar.bz2",
    "mirror": null,
    "homepage": "http://zakalwe.fi/uade/",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "libao",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "bencode-tools",
            "url": "https://github.com/heikkiorsila/bencode-tools.git"
        }
    ],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff --git a/configure b/configure\n",
                "index 05bfa9b..a73608e 100755\n",
                "--- a/configure\n",
                "+++ b/configure\n",
                "@@ -399,13 +399,13 @@ if test -n \"$sharedir\"; then\n",
                "     uadedatadir=\"$sharedir\"\n",
                " fi\n",
                " \n",
                "-$NATIVECC -v 2>/dev/null >/dev/null\n",
                "+$NATIVECC --version 2>/dev/null >/dev/null\n",
                " if test \"$?\" != \"0\"; then\n",
                "     echo Native CC \"$NATIVECC\" not found, please install a C compiler\n",
                "     exit 1\n",
                " fi\n",
                " \n",
                "-$TARGETCC -v 2>/dev/null >/dev/null\n",
                "+$TARGETCC --version 2>/dev/null >/dev/null\n",
                " if test \"$?\" != \"0\"; then\n",
                "     echo Target CC \"$TARGETCC\" not found, please install a C compiler\n",
                "     exit 1\n"
            ]
        }
    ],
    "install": [
        "if build.head?",
        "resource(\"bencode-tools\").stage do",
        "system \"./configure\", \"--prefix=#{prefix}\", \"--without-python\"",
        "system \"make\"",
        "system \"make\", \"install\"",
        "end"
    ],
    "version": "2.13",
    "file": "uade.rb"
}