summaryrefslogtreecommitdiff
path: root/homebrew/opencascade/.beer
blob: 1c0837f4db304a2ef6ab247464e6b7606d44a9a3 (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
{
    "name": "Opencascade",
    "description": "3D modeling and numerical simulation software for CAD/CAM/CAE",
    "url": "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_3_0;sf=tgz",
    "mirror": null,
    "homepage": "https://www.opencascade.com/content/overview",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "doxygen",
            "build-depend": true
        },
        {
            "depend": "freeimage",
            "build-depend": false
        },
        {
            "depend": "freetype",
            "build-depend": false
        },
        {
            "depend": "gl2ps",
            "build-depend": false
        },
        {
            "depend": "tbb",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "system \"cmake\", \".\",",
        "\"-DUSE_FREEIMAGE=ON\",",
        "\"-DUSE_GL2PS=ON\",",
        "\"-DUSE_TBB=ON\",",
        "\"-DINSTALL_DOC_Overview=ON\",",
        "\"-D3RDPARTY_FREEIMAGE_DIR=#{Formula[\"freeimage\"].opt_prefix}\",",
        "\"-D3RDPARTY_FREETYPE_DIR=#{Formula[\"freetype\"].opt_prefix}\",",
        "\"-D3RDPARTY_GL2PS_DIR=#{Formula[\"gl2ps\"].opt_prefix}\",",
        "\"-D3RDPARTY_TBB_DIR=#{Formula[\"tbb\"].opt_prefix}\",",
        "\"-D3RDPARTY_TCL_DIR:PATH=#{MacOS.sdk_path_if_needed}/usr\",",
        "\"-D3RDPARTY_TCL_INCLUDE_DIR=#{MacOS.sdk_path_if_needed}/usr/include\",",
        "\"-D3RDPARTY_TK_INCLUDE_DIR=#{MacOS.sdk_path_if_needed}/usr/include\",",
        "*std_cmake_args",
        "system \"make\", \"install\"",
        "bin.env_script_all_files(libexec/\"bin\", :CASROOT => prefix)",
        "prefix.install_symlink pkgshare/\"resources\" => \"src\""
    ],
    "version": "7_3_0",
    "file": "opencascade.rb"
}