From adccfad62ac89363069b4c9aaad127d6fba2f2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Fri, 20 Dec 2024 12:48:59 +0100 Subject: [PATCH] Add easyconfig freeglut-3.4.0-GCCcore-13.2.0.eb --- .../freeglut/freeglut-3.4.0-GCCcore-13.2.0.eb | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 easybuild/easyconfigs/f/freeglut/freeglut-3.4.0-GCCcore-13.2.0.eb diff --git a/easybuild/easyconfigs/f/freeglut/freeglut-3.4.0-GCCcore-13.2.0.eb b/easybuild/easyconfigs/f/freeglut/freeglut-3.4.0-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..8585abf1da8 --- /dev/null +++ b/easybuild/easyconfigs/f/freeglut/freeglut-3.4.0-GCCcore-13.2.0.eb @@ -0,0 +1,39 @@ +easyblock = 'CMakeMake' + +name = 'freeglut' +version = '3.4.0' + +homepage = 'http://freeglut.sourceforge.net/' +description = "freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library." + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +source_urls = [SOURCEFORGE_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec'] + +builddependencies = [ + ('binutils', '2.40'), + ('CMake', '3.27.6'), +] + +dependencies = [ + ('X11', '20231019'), + ('Mesa', '23.1.9'), + ('libGLU', '9.0.3'), +] + +configopts = ' -DX11_X11_LIB="$EBROOTX11/lib/libX11.%s" ' % SHLIB_EXT +configopts += ' -DX11_X11_INCLUDE_PATH="$EBROOTX11/include/X11" ' +configopts += ' -DX11_Xext_LIB="$EBROOTX11/lib/libXext.%s" ' % SHLIB_EXT +configopts += ' -DX11_Xrandr_LIB="$EBROOTX11/lib/libXrandr.%s" ' % SHLIB_EXT +configopts += ' -DX11_Xrandr_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" ' +configopts += ' -DX11_Xi_LIB="$EBROOTX11/lib/libXrandr.%s" ' % SHLIB_EXT +configopts += ' -DX11_Xi_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" ' + +sanity_check_paths = { + 'files': [('lib/libglut.a', 'lib64/libglut.a'), ('lib/libglut.%s' % SHLIB_EXT, 'lib64/libglut.%s' % SHLIB_EXT)], + 'dirs': ['include/GL'], +} + +moduleclass = 'lib'