UDUNITS-1.12.11-GCCcore-10.2.0.eb 898 B

1234567891011121314151617181920212223242526272829303132333435
  1. ##
  2. easyblock = 'ConfigureMake'
  3. name = 'UDUNITS'
  4. version = '1.12.11'
  5. homepage = 'http://www.unidata.ucar.edu/software/udunits/'
  6. description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
  7. arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""
  8. toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
  9. toolchainopts = {'pic': True}
  10. source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
  11. sources = [SOURCELOWER_TAR_GZ]
  12. patches = ['UDUNITS-1_yacc.patch']
  13. buildopts = 'CFLAGS="$CFLAGS -Df2cFortran" '
  14. builddependencies = [
  15. ('binutils', '2.35'),
  16. ('Bison', '3.7.1'),
  17. ('Perl', '5.32.0'),
  18. ]
  19. sanity_check_paths = {
  20. 'files': ['bin/udunits', 'etc/udunits.dat', 'include/udunits.inc', 'include/udunits.h',
  21. 'lib/libudunits.a'],
  22. 'dirs': [],
  23. }
  24. parallel = 1
  25. moduleclass = 'phys'