d1270060d9
The goal of the CGAL Open Source Project is to provide easy access to efficient and reliable geometric algorithms in the form of a C++ library. CGAL is used in various areas needing geometric computation, such as: computer graphics, scientific visualization, computer aided design and modeling, geographic information systems, molecular biology, medical imaging, robotics and motion planning, mesh generation, numerical methods... Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
439 B
Ruby
18 lines
439 B
Ruby
require 'formula'
|
|
|
|
class Cgal <Formula
|
|
url 'https://gforge.inria.fr/frs/download.php/26688/CGAL-3.6.tar.gz'
|
|
md5 '78dbaf85df0a53ca0e87308d9cbf671e'
|
|
homepage 'http://www.cgal.org/'
|
|
|
|
depends_on 'cmake'
|
|
depends_on 'boost'
|
|
depends_on 'gmp'
|
|
depends_on 'mpfr'
|
|
depends_on 'qt' => :optional
|
|
|
|
def install
|
|
system "cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release"
|
|
system "make install"
|
|
end
|
|
end
|