aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/liblas.rb
blob: ce83f3a9a59b66d529d2c94fcad1fef691b4b3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Liblas < Formula
  url 'http://trac.liblas.org/raw-attachment/wiki/1.6.0b1/libLAS-1.6.0b1.tar.gz'
  homepage 'http://liblas.org'
  md5 '4a08325b7daf4006e3762804d722b770'

  depends_on 'cmake'
  depends_on 'libgeotiff'
  depends_on 'gdal'
  depends_on 'boost'

  def install
    system "BOOST_ROOT=#{HOMEBREW_PREFIX} BOOST_INCLUDEDIR=#{HOMEBREW_PREFIX}/include cmake . #{std_cmake_parameters}"
    system "make install"
  end
end