easyblock = 'ConfigureMake'
name = 'spatialindex'
version = '1.8.5'

homepage = 'https://libspatialindex.github.io/index.html'
description = """The purpose of this library is to provide:
 * An extensible framework that will support robust spatial indexing methods.
 * Support for sophisticated spatial queries. Range, point location, nearest 
   neighbor and k-nearest neighbor as well as parametric queries (defined by spatial
   constraints) should be easy to deploy and run.
 * Easy to use interfaces for inserting, deleting and updating information.
"""
toolchain = {'name': 'foss', 'version': '2015g'}

source_urls = ['http://download.osgeo.org/libspatialindex/']
sources = ['%(name)s-src-%(version)s.tar.gz']

sanity_check_paths = {
    'files': ['lib/libspatialindex.so'],
    'dirs': ['lib']
}

moduleclass = 'lib'
