# IT4Innovations 2018

easyblock = 'CMakeMake'

name = 'RapidJSON'
version = '1.1.0'

homepage = "http://rapidjson.org/"
description = """A fast JSON parser/generator for C++ with both SAX/DOM style API
Tencent is pleased to support the open source community by making RapidJSON available.
Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
"""

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/Tencent/rapidjson/archive/']
sources = ['v%(version)s.tar.gz']

builddependencies = [
    ('CMake', '3.13.1'),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['include', 'lib', 'share'],
}

moduleclass = 'lang'
