diff options
| author | Pete Gadomski | 2013-07-03 09:31:43 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-19 07:55:35 -0700 |
| commit | 832598eeb6b197613f798e74fda03e2a185dc2a3 (patch) | |
| tree | 0ad1486402304dabe1a59644911374b35b07a58b /Library/Formula | |
| parent | 3dea5ddfae3d2fb735f6908940d143dcd5b07693 (diff) | |
| download | homebrew-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.rb | 19 |
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 |
