# IT4Innovations 2018 name = 'CGAL' version = '4.11.1' homepage = 'http://www.cgal.org/' description = """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.""" toolchain = {'name': 'foss', 'version': '2017b'} toolchainopts = {'strict': True} source_urls = [ 'https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-%(version)s'] sources = [SOURCE_TAR_XZ] checksums = ['fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b'] dependencies = [ ('zlib', '1.2.11', '', True), ('Boost', '1.67.0'), ('MPFR', '4.0.1'), ('GMP', '6.1.2', '', True), ('libGLU', '9.0.0', '', True), ('Qt5', '5.11.1', '', ('GCC', '6.3.0-2.27')), ] builddependencies = [ ('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')), ('Eigen', '3.3.4', '', True), ] configopts = "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include " configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON " configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON " moduleclass = 'numlib'