123456789101112131415161718192021222324252627282930313233 |
- easyblock = 'CMakeMake'
- name = 'libLAS'
- version = '1.8.1'
- homepage = 'https://liblas.org/'
- description = """libLAS is a C/C++ library for reading and writing the very common LAS LiDAR format.
- The ASPRS LAS format is a sequential binary format used to store data from LiDAR sensors and by LiDAR
- processing software for data interchange and archival."""
- toolchain = {'name': 'foss', 'version': '2018b'}
- source_urls = ['https://github.com/libLAS/libLAS/archive/']
- sources = ['%(version)s.tar.gz']
- builddependencies = [('CMake', '3.12.1')]
- dependencies = [
- ('Boost', '1.67.0'),
- ('GDAL', '2.2.3', '-Python-2.7.15'),
- ('libgeotiff', '1.4.2'),
- ]
- separate_build_dir = True
- configopts = '-DCMAKE_BUILD_TYPE=Release -DWITH_GDAL=ON'
- configopts += '-DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-std=c++11 -pthread" -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lpthread"'
- sanity_check_paths = {
- 'files': ['bin/lasinfo', 'lib/liblas_c.so.2.4.0', 'lib/liblas.so.2.4.0'],
- 'dirs': [],
- }
- moduleclass = 'lib'
|