easyblock = 'ConfigureMake' name = 'libgeotiff' version = '1.6.0' homepage = 'https://directory.fsf.org/wiki/Libgeotiff' description = """Library for reading and writing coordinate system information from/to GeoTIFF files""" toolchain = {'name': 'GCCcore', 'version': '10.2.0'} source_urls = ['https://download.osgeo.org/geotiff/libgeotiff'] sources = [SOURCE_TAR_GZ] builddependencies = [ ('binutils', '2.35'), ] dependencies = [ ('PROJ', '7.2.0'), ('libjpeg-turbo', '2.0.5'), ('zlib', '1.2.11'), ('SQLite', '3.33.0'), ('LibTIFF', '4.1.0'), ('cURL', '7.72.0'), ] configopts = ' --with-libtiff=$EBROOTLIBTIFF --with-proj=$EBROOTPROJ --with-zlib=$EBROOTZLIB' configopts += ' --with-jpeg=$EBROOTLIBJPEGMINTURBO' sanity_check_paths = { 'files': ['bin/listgeo', 'lib/libgeotiff.a', 'lib/libgeotiff.%s' % SHLIB_EXT], 'dirs': ['include', 'share'], } moduleclass = 'lib'