aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPete Gadomski2013-07-03 09:31:43 -0600
committerAdam Vandenberg2013-09-19 07:55:35 -0700
commit832598eeb6b197613f798e74fda03e2a185dc2a3 (patch)
tree0ad1486402304dabe1a59644911374b35b07a58b /Library/Formula
parent3dea5ddfae3d2fb735f6908940d143dcd5b07693 (diff)
downloadhomebrew-832598eeb6b197613f798e74fda03e2a185dc2a3.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/laszip.rb19
1 files changed, 19 insertions, 0 deletions
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