diff --git a/recipes/liblas/build.sh b/recipes/liblas/build.sh new file mode 100644 index 0000000000000..141dec92c2494 --- /dev/null +++ b/recipes/liblas/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# Compile C library +mkdir build +cd build + +cmake -G "Unix Makefiles" \ + -DBoost_NO_BOOST_CMAKE=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + -DCMAKE_PREFIX_PATH=$PREFIX \ + -DBoost_USE_STATIC_LIBS=no \ + .. + +make -j${CPU_COUNT} +make install + +# Install Python bindings +cd ../python +$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt diff --git a/recipes/liblas/meta.yaml b/recipes/liblas/meta.yaml new file mode 100644 index 0000000000000..26d78161660eb --- /dev/null +++ b/recipes/liblas/meta.yaml @@ -0,0 +1,60 @@ +{% set name = "libLAS" %} +{% set version = "1.8.1" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: https://github.com/libLAS/libLAS/archive/{{ version }}.tar.gz + sha256: 31cff4fd235f9397df8c3086b0aefc50a047d2be0e9ce39f0cddfc662633fa93 + +build: + skip: True # [win] + number: 0 + +requirements: + build: + - {{ compiler ('c') }} + - {{ compiler ('cxx') }} + - cmake + - make + host: + - python + - pip + - setuptools + - boost-cpp + - geotiff + - libgdal + - proj4 + run: + - python + - boost-cpp + - geotiff + - libgdal + - proj4 + +test: + imports: + - liblas + +about: + home: http://liblas.org + license: BSD + license_family: BSD + license_file: LICENSE.txt + summary: Library for reading and writing the very common LAS LiDAR format. + description: | + libLAS is a C/C++ library for reading and writing the very common LAS LiDAR + format (LAS 1.0/1.1/1.2 ASPRS). 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. As of 2018, libLAS has been + replaced by the PDAL project and it is in hibernation or maintenance mode. + libLAS does not provide support for LAS or LAZ 1.4, which PDAL does. + dev_url: https://github.com/libLAS/libLAS + doc_url: https://liblas.org/docs.html + +extra: + recipe-maintainers: + - hobu + - rmsare diff --git a/recipes/pymcc_lidar/build.sh b/recipes/pymcc_lidar/build.sh new file mode 100644 index 0000000000000..d95db39d71a87 --- /dev/null +++ b/recipes/pymcc_lidar/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +export PYTHON_EXECUTABLE=$PYTHON + +$PYTHON setup.py --quiet install --single-version-externally-managed --record=record.txt diff --git a/recipes/pymcc_lidar/meta.yaml b/recipes/pymcc_lidar/meta.yaml new file mode 100644 index 0000000000000..12d26a6515d04 --- /dev/null +++ b/recipes/pymcc_lidar/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "pymcc_lidar" %} +{% set version = "1.3" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: 50553515bdfbb9203e260bade29ac4d7bf7e690ed5d873ccd6be7c2f5530025b + +build: + number: 0 + skip: True # [not linux] + +requirements: + build: + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - cmake + - cython + - liblas + host: + - python + - pip + - cython + - liblas + - numpy + run: + - python + - liblas + - numpy + +test: + imports: + - pymcc_lidar + +about: + home: https://github.com/stgl/pymcc + license: MIT + license_family: MIT + license_file: LICENSE.txt + summary: A Python package for point cloud classification using relative height + doc_url: https://github.com/stgl/pymcc + dev_url: https://github.com/stgl/pymcc + +extra: + recipe-maintainers: + - rmsare + - gehilley