summaryrefslogtreecommitdiff
path: root/homebrew/opencsg/.beer
blob: a2652784fe00e1783a09fdefe7e9b6c3281760bb (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
{
    "name": "Opencsg",
    "description": "The CSG rendering library",
    "url": "http://www.opencsg.org/OpenCSG-1.4.2.tar.gz",
    "mirror": null,
    "homepage": "http://www.opencsg.org",
    "depends": [
        {
            "depend": "qt",
            "build-depend": true
        },
        {
            "depend": "glew",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/990b9bb/opencsg/disable-examples.diff",
            "strip": "1"
        }
    ],
    "install": [
        "system \"qmake\", \"-r\", \"INSTALLDIR=#{prefix}\",",
        "\"INCLUDEPATH+=#{Formula[\"glew\"].opt_include}\",",
        "\"LIBS+=-L#{Formula[\"glew\"].opt_lib} -lGLEW\"",
        "system \"make\", \"install\""
    ],
    "version": "1.4.2",
    "file": "opencsg.rb"
}