easyblock = 'Tarball'

name = 'h4toh5'
version = '2.2.2'
versionsuffix = '-linux-x86_64-static'

homepage = 'http://www.hdfgroup.org/h4toh5/'
description = """The h4toh5 software consists of the h4toh5 and h5toh4 command-line utilities,
 as well as a conversion library for converting between individual HDF4 and HDF5 objects."""

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

# fi. http://www.hdfgroup.org/ftp/HDF5/tools/h4toh5/bin/h4h5tools-2.2.1-linux-x86_64-static.tar.gz
source_urls = ['http://www.hdfgroup.org/ftp/HDF5/tools/%s/bin' % name]
sources = ['h4h5tools-%(version)s%(versionsuffix)s.tar.gz']

sanity_check_paths = {
    'files': ['bin/%s' % x for x in ['h5toh4', 'h5toh4']],
    'dirs': [],
}

moduleclass = 'data'
