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

12345678910111213141516171819202122232425262728293031323334353637
  1. easyblock = 'CMakeMake'
  2. name = 'pktools'
  3. version = '2.6.7.6'
  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 = ['PKTOOLS-%(version)s.tar.gz']
  10. checksums = ['9ce79a225f3232fda91ef9df6ecd1f2b']
  11. builddependencies = [('CMake', '3.12.1')]
  12. dependencies = [
  13. ('GDAL', '2.2.3', '-Python-2.7.15'),
  14. ('GSL','2.5'),
  15. ('Armadillo', '8.400.0'),
  16. ('FANN', '2.2.0'),
  17. ('libLAS','1.8.1'),
  18. ('ncurses','6.1'),
  19. ]
  20. #libfann-dev libfann-doc libgeotiff-epsg libalgorithms1 libfann2 libfileclasses1 libimageclasses1 liblas3 liblasclasses1
  21. separate_build_dir = True
  22. configopts = '-DBUILD_WITH_FANN=ON -DBUILD_WITH_LIBLAS=ON'
  23. sanity_check_paths = {
  24. 'files': ['bin/pktools-config', 'OFF/libalgorithms.a', 'OFF/libbase.a', 'OFF/libfileClasses.a', 'OFF/libimageClasses.a'],
  25. 'dirs': [],
  26. }
  27. moduleclass = 'tools'