class Pdal < Formula desc "Point data abstraction library" homepage "https://www.pdal.io/" url "https://github.com/PDAL/PDAL/archive/1.7.2.tar.gz" sha256 "cedfefbe54ca61cbb33d100d619c53873d84f480ff53deec2cf6dd91580f6a61" revision 2 head "https://github.com/PDAL/PDAL.git" bottle do sha256 "06bed1a1dda903df81d12c393f346a7aac4159e63ef0e678ac3de3ad6ae214b5" => :mojave sha256 "406e104871bd025e62e71d241d49e1604cb3d8d478243c9bac2b8605f0b0949f" => :high_sierra sha256 "0b0d11adbbf27034504c1273e5a95323a461782ec872900fbc716fbeddf57e88" => :sierra end depends_on "cmake" => :build depends_on "gdal" depends_on "hdf5" depends_on "laszip" depends_on "numpy" depends_on "pcl" depends_on "postgresql" def install system "cmake", ".", *std_cmake_args, "-DWITH_LASZIP=TRUE", "-DBUILD_PLUGIN_GREYHOUND=ON", "-DBUILD_PLUGIN_ICEBRIDGE=ON", "-DBUILD_PLUGIN_PCL=ON", "-DBUILD_PLUGIN_PGPOINTCLOUD=ON", "-DBUILD_PLUGIN_PYTHON=ON", "-DBUILD_PLUGIN_SQLITE=ON" system "make", "install" doc.install "examples", "test" end test do system bin/"pdal", "info", doc/"test/data/las/interesting.las" end end