# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'Szip'
version = '2.1'

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

toolchain = {'name': 'system', 'version': ''}
toolchainopts = {'optarch': True, 'pic': True}

source_urls = ['https://support.hdfgroup.org/ftp/lib-external/szip/previous/2.1/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'
