class Pdal < Formula desc "Point data abstraction library" homepage "https://www.pdal.io/" url "https://github.com/PDAL/PDAL/archive/1.8.0.tar.gz" sha256 "ef3a32c06865383feac46fd7eb7491f034cad6b0b246b3c917271ae0c8f25b69" revision 3 head "https://github.com/PDAL/PDAL.git" bottle do sha256 "acebefaccfb7f22cf052b270434ba501e16bca018de00363a6120843e8e5c50c" => :mojave sha256 "70cfd3c5e8b7da85de35686ca9974bf6bef1241f3fd81332b6447b0791304330" => :high_sierra sha256 "5c523c8c661baf0967b82b85d66c9c7486d431824376edbe63b0df5c87cd9fee" => :sierra end depends_on "cmake" => :build depends_on "pkg-config" => :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