UDUNITS-2.2.26-foss-2017b.eb 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ##
  2. # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
  3. #
  4. # Copyright:: Copyright 2012-2013 University of Luxembourg, Ghent University
  5. # Authors:: Fotis Georgatos <fotis@cern.ch>, Kenneth Hoste (Ghent University)
  6. # License:: MIT/GPL
  7. # $Id$
  8. #
  9. # This work implements a part of the HPCBIOS project and is a component of the policy:
  10. # http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-97.html
  11. ##
  12. easyblock = 'ConfigureMake'
  13. name = 'UDUNITS'
  14. version = '2.2.26'
  15. homepage = 'http://www.unidata.ucar.edu/software/udunits/'
  16. description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
  17. arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""
  18. toolchain = {'name': 'foss', 'version': '2017b'}
  19. toolchainopts = {'opt': True, 'pic': True}
  20. source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
  21. sources = [SOURCELOWER_TAR_GZ]
  22. checksums = ['368f4869c9c7d50d2920fa8c58654124e9ed0d8d2a8c714a9d7fdadc08c7356d']
  23. dependencies = [('expat', '2.2.5')]
  24. sanity_check_paths = {
  25. 'files': ['bin/udunits2', 'include/converter.h', 'include/udunits2.h', 'include/udunits.h',
  26. 'lib/libudunits2.a', 'lib/libudunits2.%s' % SHLIB_EXT],
  27. 'dirs': ['share'],
  28. }
  29. parallel = 1
  30. moduleclass = 'phys'