easyblock = 'ConfigureMake' name = 'SpatiaLite' version = '4.3.0a' homepage = 'https://www.gaia-gis.it/fossil/libspatialite/index' description = """SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities. """ toolchain = {'name': 'foss', 'version': '2015g'} source_urls = ['http://www.gaia-gis.it/gaia-sins/libspatialite-4.3.0a.tar.gz'] sources = ['lib%(namelower)s-%(version)s.tar.gz'] builddependencies = [('SQLite', '3.8.8.1')] dependencies = [('Qt', '4.8.6'), ('PROJ_4', '4.9.2'), ('GEOS', '3.5.0'), ('GDAL', '2.1.0'), ('Qwt', '6.1.2'), ('expat', '2.1.0') ] preconfigopts = 'export LIBS="-lm -lpthread -L/apps/all/SQLite/3.8.8.1-foss-2015g/lib" && ' configopts = '--disable-freexl' sanity_check_paths = { 'files': ['include/spatialite.h', 'lib/libspatialite.so'], 'dirs': ['lib', 'include'] } moduleclass = 'lib'