blob: 04726a281140e47dc8e8a3b3bd2b1d49c51b9990 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | require 'formula'
class Laszip < Formula
  homepage 'http://www.laszip.org/'
  url 'https://github.com/LASzip/LASzip/archive/v2.2.0.tar.gz'
  sha1 '911881d7698642f6c201a70cab62a55a337b5627'
  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 "#{bin}/laszippertest"
  end
end
 |