libLAS-1.8.1-foss-2017b.eb 1009 B

123456789101112131415161718192021222324252627282930313233
  1. easyblock = 'CMakeMake'
  2. name = 'libLAS'
  3. version = '1.8.1'
  4. homepage = 'https://liblas.org/'
  5. description = """libLAS is a C/C++ library for reading and writing the very common LAS LiDAR format.
  6. The ASPRS LAS format is a sequential binary format used to store data from LiDAR sensors and by LiDAR
  7. processing software for data interchange and archival."""
  8. toolchain = {'name': 'foss', 'version': '2017b'}
  9. source_urls = ['https://github.com/libLAS/libLAS/archive/']
  10. sources = ['%(version)s.tar.gz']
  11. builddependencies = [('CMake', '3.11.4')]
  12. dependencies = [
  13. ('Boost', '1.65.1'),
  14. ('GDAL', '2.2.3', '-Python-2.7.14'),
  15. ('libgeotiff', '1.4.2'),
  16. ]
  17. separate_build_dir = True
  18. configopts = '-DCMAKE_BUILD_TYPE=Release -DWITH_GDAL=ON'
  19. configopts += '-DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-std=c++11 -pthread" -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lpthread"'
  20. sanity_check_paths = {
  21. 'files': ['bin/lasinfo', 'lib/liblas_c.so.2.4.0', 'lib/liblas.so.2.4.0'],
  22. 'dirs': [],
  23. }
  24. moduleclass = 'lib'