openjpeg-1.5.2-intel-2018.eb 949 B

1234567891011121314151617181920212223242526272829303132333435
  1. easyblock = 'CMakeMake'
  2. name = 'openjpeg'
  3. version = '1.5.2'
  4. homepage = "http://www.openjpeg.org/"
  5. description = """OpenJPEG is an open-source JPEG 2000 codec written in C language.
  6. It has been developed in order to promote the use of JPEG 2000, a still-image
  7. compression standard from the Joint Photographic Experts Group (JPEG).
  8. Since may 2015, it is officially recognized by ISO/IEC and ITU-T as a JPEG 2000
  9. Reference Software."""
  10. toolchain = {'name': 'intel', 'version': '2018'}
  11. source_urls = ["https://github.com/uclouvain/openjpeg/archive"]
  12. sources = ["version.%(version)s.tar.gz"]
  13. builddependencies = [
  14. ('CMake', '3.9.1'),
  15. ]
  16. configopts = '-DBUILD_SHARED_LIBS:bool=on'
  17. sanity_check_paths = {
  18. 'files': ['bin/j2k_dump', 'bin/image_to_j2k'],
  19. 'dirs': [],
  20. }
  21. postinstallcmds = [
  22. 'ln -s %(installdir)s/include/openjpeg-1.5/openjpeg.h %(installdir)s/include/openjpeg.h'
  23. ]
  24. separate_build_dir = True
  25. moduleclass = 'lib'