summaryrefslogtreecommitdiff
path: root/homebrew/cgal/.beer
blob: 377b09fd8f8609e6eeb4396002a02c81ac810ee8 (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
{
    "name": "Cgal",
    "description": "Computational Geometry Algorithm Library",
    "url": "https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.14/CGAL-4.14.tar.xz",
    "mirror": null,
    "homepage": "https://www.cgal.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": false
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "eigen",
            "build-depend": false
        },
        {
            "depend": "gmp",
            "build-depend": false
        },
        {
            "depend": "mpfr",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = std_cmake_args + %W[",
        "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON",
        "-DCMAKE_INSTALL_NAME_DIR=#{HOMEBREW_PREFIX}/lib",
        "-DWITH_Eigen3=ON",
        "-DWITH_LAPACK=ON",
        "-DWITH_CGAL_Qt5=OFF",
        "-DWITH_CGAL_ImageIO=OFF",
        "]",
        "system \"cmake\", \".\", *args",
        "system \"make\", \"install\""
    ],
    "version": "4.14",
    "file": "cgal.rb"
}