HDF-4.2.15-GCCcore-10.2.0.eb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. easyblock = 'ConfigureMake'
  2. name = 'HDF'
  3. version = '4.2.15'
  4. homepage = 'https://www.hdfgroup.org/products/hdf4/'
  5. description = """
  6. HDF (also known as HDF4) is a library and multi-object file format for
  7. storing and managing data between machines.
  8. """
  9. toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
  10. toolchainopts = {'pic': True}
  11. source_urls = ['http://www.hdfgroup.org/ftp/HDF/releases/HDF%(version)s/src/']
  12. sources = [SOURCELOWER_TAR_GZ]
  13. checksums = ['dbeeef525af7c2d01539906c28953f0fdab7dba603d1bc1ec4a5af60d002c459']
  14. builddependencies = [
  15. ('binutils', '2.35'),
  16. ('Bison', '3.7.1'),
  17. ('flex', '2.6.4'),
  18. ]
  19. dependencies = [
  20. ('libjpeg-turbo', '2.0.5'),
  21. ('Szip', '2.1.1'),
  22. ('zlib', '1.2.11'),
  23. ('libtirpc', '1.2.6'),
  24. ]
  25. preconfigopts = "LIBS='-ltirpc' "
  26. configopts = '--with-szlib=$EBROOTSZIP '
  27. configopts += '--includedir=%(installdir)s/include/%(namelower)s '
  28. buildopts = 'FFLAGS="$FFLAGS -fallow-argument-mismatch -I../src" '
  29. modextrapaths = {'CPATH': 'include/hdf'}
  30. sanity_check_paths = {
  31. 'files': ['bin/h4cc', 'bin/ncdump', 'lib/libdf.a', 'lib/libhdf4.settings', 'lib/libmfhdf.a'],
  32. 'dirs': ['include/hdf'],
  33. }
  34. sanity_check_commands = [
  35. "h4cc --help",
  36. "ncdump -V",
  37. ]
  38. moduleclass = 'data'