easyblock = 'ConfigureMake' name = 'libgeotiff' version = '1.4.2' homepage = 'https://directory.fsf.org/wiki/Libgeotiff' description = "Library for reading and writing coordinate system information from/to GeoTIFF files" toolchain = {'name': 'foss', 'version': '2017b'} source_urls = [ 'http://download.osgeo.org/geotiff/libgeotiff/', 'ftp://ftp.remotesensing.org/pub/libgeotiff/', ] sources = ['%(name)s-%(version)s.tar.gz'] checksums = ['ad87048adb91167b07f34974a8e53e4ec356494c29f1748de95252e8f81a5e6e'] dependencies = [ ('zlib', '1.2.11'), ('LibTIFF', '4.0.9'), ('PROJ', '5.1.0'), ('libjpeg-turbo', '1.5.3'), ] 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'