summaryrefslogtreecommitdiff
path: root/homebrew/luabind/.beer
blob: 2099dd43bf0740fc4d934fd61c58304211ec0555 (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
{
    "name": "Luabind",
    "description": "Library for bindings between C++ and Lua",
    "url": "https://downloads.sourceforge.net/project/luabind/luabind/0.9.1/luabind-0.9.1.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/luabind/luabind",
    "depends": [
        {
            "depend": "boost-build",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "lua@5.1",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://gist.githubusercontent.com/tdsmith/e6d9d3559ec1d9284c0b/raw/4ac01936561ef9d7541cf8e78a230bebef1a8e10/luabind.diff",
            "strip": "1"
        },
        {
            "url": "https://gist.githubusercontent.com/DennisOSRM/3728987/raw/052251fcdc23602770f6c543be9b3e12f0cac50a/Jamroot.diff",
            "strip": "1"
        },
        {
            "url": "https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad.diff?full_index=1",
            "strip": "1"
        },
        {
            "url": "https://gist.githubusercontent.com/DennisOSRM/a246514bf7d01631dda8/raw/0e83503dbf862ebfb6ac063338a6d7bca793f94d/object_rep.diff",
            "strip": "1"
        }
    ],
    "install": [
        "ENV[\"LUA_PATH\"] = Formula[\"lua@5.1\"].opt_prefix",
        "args = %w[release install]",
        "if ENV.compiler == :clang",
        "args << \"--toolset=clang\"",
        "elsif ENV.compiler == :gcc",
        "args << \"--toolset=darwin\"",
        "end",
        "args << \"--prefix=#{prefix}\"",
        "system \"bjam\", *args",
        "(lib/\"pkgconfig/luabind.pc\").write pc_file"
    ],
    "version": "0.9.1",
    "file": "luabind.rb"
}