# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'Jansson'
version = '2.11'

homepage = 'http://www.digip.org/jansson/'
description = """Jansson is a C library for encoding, decoding and manipulating JSON data.
 Its main features and design principles are:
 * Simple and intuitive API and data model
 * Comprehensive documentation
 * No dependencies on other libraries
 * Full Unicode support (UTF-8)
 * Extensive test suite"""

toolchain = {'name': 'system', 'version': ''}

# fi. https://github.com/akheron/jansson/archive/2.5.zip
source_urls = ['https://github.com/akheron/jansson/archive/']
sources = ['%(version)s.tar.gz']

preconfigopts = 'autoreconf -i && '

sanity_check_paths = {
    'files': ['lib/libjansson.%s' % SHLIB_EXT],
    'dirs': ['include'],
}

runtest = 'check'

moduleclass = 'devel'
