# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'Szip'
version = '2.1.1'

homepage = 'http://www.hdfgroup.org/doc_resource/SZIP/'
description = "Szip local_compression software, providing lossless local_compression of scientific data"

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

source_urls = ['http://www.hdfgroup.org/ftp/lib-external/szip/%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]

configopts = "--with-pic"

sanity_check_paths = {
    'files': [
        "lib/libsz.a", "lib/libsz.so"] + [
            "include/%s" %
            x for x in [
                "ricehdf.h", "szip_adpt.h", "szlib.h"]], 'dirs': [], }

moduleclass = 'tools'
