1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|
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 body>