libgeotiff/1.7.3-cpeGNU-24.03 (libgeotiff-1.7.3-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 libgeotiff/1.7.3-cpeGNU-24.03
.
EasyConfig:
easyblock = 'ConfigureMake'
local_libgeotiff_version = '1.7.3' # https://github.com/OSGeo/libgeotiff/releases
local_cURL_version = '8.3.0' # https://curl.haxx.se/download/
local_PROJ_version = '9.3.1' # https://proj.org/download.html
local_SQLite_version = '3.43.1' # https://www.sqlite.org/
local_libjpegturbo_version = '3.0.1' # https://github.com/libjpeg-turbo/libjpeg-turbo/releases
local_libtiff_version = '4.6.0' # https://download.osgeo.org/libtiff/
local_zlib_version = '1.3.1' # https://zlib.net/
name = 'libgeotiff'
version = local_libgeotiff_version
homepage = 'https://directory.fsf.org/wiki/Libgeotiff'
whatis = [
'Description: libgeotiff is a library for reading and writing coordinate system information from/to GeoTIFF files'
]
description = """
'libgeotiff' is a library (normally built on top of libtiff) for reading and
writing coordinate system information from/to GeoTIFF files. It includes CSV
files for expanding projected coordinate system codes into full projections,
and definitions and examples of transforming the definitions into a form that
can be used with the PROJ.4 projections library. It also includes the sample
applications listgeo (for dumping GeoTIFF information in readable form) and
geotifcp (for applying geotiff tags to an existing TIFF or GeoTIFF file).
"""
toolchain = {'name': 'cpeGNU', 'version': '24.03'}
source_urls = ['https://download.osgeo.org/geotiff/libgeotiff']
sources = [SOURCE_TAR_GZ]
checksums = ['ba23a3a35980ed3de916e125c739251f8e3266be07540200125a307d7cf5a704']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
('craype-network-none', EXTERNAL_MODULE),
]
dependencies = [
('PROJ', local_PROJ_version),
('libjpeg-turbo', local_libjpegturbo_version),
('zlib', local_zlib_version),
('SQLite', local_SQLite_version),
('LibTIFF', local_libtiff_version),
('cURL', local_cURL_version),
]
configopts = '--with-libtiff=$EBROOTLIBTIFF --with-proj=$EBROOTPROJ --with-zlib=$EBROOTZLIB '
configopts += '--with-jpeg=$EBROOTLIBJPEGMINTURBO '
postinstallcmds = [
'mkdir -p %(installdir)s/share/licenses/libgeotiff && cp -f LICENSE %(installdir)s/share/licenses/libgeotiff/LICENSE',
]
sanity_check_paths = {
'files': ['bin/listgeo', 'lib/libgeotiff.a', 'lib/libgeotiff.%s' % SHLIB_EXT, 'share/licenses/libgeotiff/LICENSE'],
'dirs': ['include', 'share/man/man1'],
}
moduleclass = 'lib'