aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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