GEOS/3.12.1-cpeGNU-24.03 (GEOS-3.12.1-cpeGNU-24.03.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider GEOS/3.12.1-cpeGNU-24.03
.
EasyConfig:
easyblock = 'CMakeMake'
local_GEOS_version = '3.12.1' # https://github.com/libgeos/geos/releases
name = 'GEOS'
version = local_GEOS_version
homepage = 'https://trac.osgeo.org/geos'
whatis = [
'Description: GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)'
]
description = """
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite
(JTS). As such, it aims to contain the complete functionality of JTS in C++.
This includes all the OpenGIS Simple Features for SQL spatial predicate
functions and spatial operators, as well as specific JTS enhanced topology
functions.
GEOS is available under the terms of GNU Lesser General Public License (LGPL),
and is a project of OSGeo.
"""
toolchain = {'name': 'cpeGNU', 'version': '24.03'}
toolchainopts = {'pic': True}
source_urls = ['https://download.osgeo.org/geos/']
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['d6ea7e492224b51193e8244fe3ec17c4d44d0777f3c32ca4fb171140549a0d03']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
('craype-network-none', EXTERNAL_MODULE),
]
# Build static and shared libraries
configopts = [
'-DCMAKE_INSTALL_LIBDIR=lib',
'-DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_LIBDIR=lib'
]
postinstallcmds = [
'pwd',
'cd ../%(namelower)s-%(version)s && mkdir -p %(installdir)s/share/licenses/GEOS && cp -f COPYING %(installdir)s/share/licenses/GEOS/COPYING',
]
sanity_check_paths = {
'files': ['bin/geos-config', 'bin/geosop', 'lib/libgeos.%s' % SHLIB_EXT, 'lib/libgeos.a', 'include/geos_c.h',
'share/licenses/GEOS/COPYING'],
'dirs': [],
}
sanity_check_commands = [
'pkg-config --libs geos',
'geos-config --cflags',
'geosop --help',
]
moduleclass = 'math'