pktools-2.6.7-foss-2018b.eb 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. easyblock = 'CMakeMake'
  2. name = 'pktools'
  3. version = '2.6.7'
  4. homepage = 'http://pktools.nongnu.org/html/index.html'
  5. description = """pktools is a suite of utilities written in C++ for image processing with a focus on remote sensing applications.
  6. It relies on the Geospatial Data Abstraction Library (GDAL, http://www.gdal.org) and OGR."""
  7. toolchain = {'name': 'foss', 'version': '2018b'}
  8. source_urls = ['http://download.savannah.gnu.org/releases/pktools/']
  9. sources = [SOURCELOWER_TAR_GZ]
  10. checksums = ['15c3e8fb5bc92b1205e99a958daf5eec']
  11. builddependencies = [('CMake', '3.11.4')]
  12. dependencies = [
  13. ('GDAL', '2.2.3', '-Python-2.7.15'),
  14. ('GSL','2.5'),
  15. ('Armadillo', '8.400.0'),
  16. #('OpenBLAS','0.3.1'),
  17. ]
  18. separate_build_dir = True
  19. #configopts = '-DBUILD_WITH_LIBLAS=ON'
  20. #configopts += 'LIBLAS_LIBRARY="$EBROOTOPENBLAS" LIBLAS_INCLUDE_DIR="$EBROOTOPENBLAS/include" LIBLAS_C_LIBRARY="$EBROOTOPENBLAS/lib"'
  21. sanity_check_paths = {
  22. 'files': ['bin/pktools-config', 'lib/libalgorithms.a', 'lib/libbase.a', 'lib/libfileClasses.a', 'lib/libimageClasses.a'],
  23. 'dirs': [],
  24. }
  25. moduleclass = 'tools'