summaryrefslogtreecommitdiff
path: root/homebrew/ospray/.beer
blob: 225c762b18c4bb15e66c907f58084263f3a8d12c (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
{
    "name": "Ospray",
    "description": "Ray-tracing-based rendering engine for high-fidelity visualization",
    "url": "https://github.com/ospray/ospray/archive/v1.8.4.tar.gz",
    "mirror": null,
    "homepage": "https://www.ospray.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "ispc",
            "build-depend": true
        },
        {
            "depend": "embree",
            "build-depend": false
        },
        {
            "depend": "macos",
            "build-depend": false
        },
        {
            "depend": "tbb",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = std_cmake_args + %w[",
        "-DCMAKE_INSTALL_NAME_DIR=#{opt_lib}",
        "-DCMAKE_INSTALL_RPATH=#{opt_lib}",
        "-DOSPRAY_ENABLE_APPS=OFF",
        "-DOSPRAY_ENABLE_TESTING=OFF",
        "-DOSPRAY_ENABLE_TUTORIALS=OFF",
        "]",
        "mkdir \"build\" do",
        "system \"cmake\", *args, \"..\"",
        "system \"make\"",
        "system \"make\", \"install\""
    ],
    "version": "1.8.4",
    "file": "ospray.rb"
}