From 832598eeb6b197613f798e74fda03e2a185dc2a3 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Wed, 3 Jul 2013 09:31:43 -0600 Subject: LASzip 2.0.2 Add a formula for LASzip, a tool for losslessly compressing las files (http://asprs.org/Committee-General/LASer-LAS-File-Format-Exchange-Activities.html). LASzip is used in several other libraries, including liblas (http://www.liblas.org/) and PDAL (http://www.pointcloud.org/). Closes #20990. Signed-off-by: Adam Vandenberg --- Library/Formula/laszip.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/laszip.rb (limited to 'Library/Formula') diff --git a/Library/Formula/laszip.rb b/Library/Formula/laszip.rb new file mode 100644 index 000000000..1e1a190b4 --- /dev/null +++ b/Library/Formula/laszip.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Laszip < Formula + homepage 'http://www.laszip.org/' + url 'https://github.com/LASzip/LASzip/archive/2.0.2.tar.gz' + sha1 '42c27cf3beff50f53e51d4a1b921e3b9f3b0faf7' + head 'https://github.com/LASzip/LASzip.git' + + depends_on 'cmake' => :build + + def install + system "cmake", ".", *std_cmake_args + system "make", "install" + end + + test do + system "laszippertest" + end +end -- cgit v1.2.3