Skip to content

[GEOS] [package list]

GEOS/3.11.0-cpeGNU-22.08 (GEOS-3.11.0-cpeGNU-22.08.eb)

This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/g/GEOS/GEOS-3.11.0-cpeGNU-22.08.eb. The corresponding module would be GEOS/3.11.0-cpeGNU-22.08.

easyblock = 'CMakeMake'

name =    'GEOS'
version = '3.11.0'

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': '22.08'}

source_urls = ['https://download.osgeo.org/geos/']
sources =     [SOURCELOWER_TAR_BZ2]
checksums =   ['79ab8cabf4aa8604d161557b52e3e4d84575acdc0d08cb09ab3f7aaefa4d858a']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),
]

# 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'

[GEOS] [package list]