homebrew-core/Formula/saga-core.rb
Ole Weidner 5a13717638 Revived & renamed previously defunct SAGA formula
After talking to Andre, the contributor of the originial (defunct) saga-cpp
Formula, we decided to re-create a formula for SAGA (The Simple API for Grid
Applications) following the proper SAGA namig scheme (saga-core instead of
saga-cpp). Another formual for saga-python will follow as soon as
http://faust.cct.lsu.edu/trac/saga/ticket/610 is fixed.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-10-20 20:46:55 -07:00

20 lines
528 B
Ruby

require 'formula'
class SagaCore < Formula
url 'http://download.saga.cct.lsu.edu/saga-core/saga-core-1.6.tgz'
head 'https://svn.cct.lsu.edu/repos/saga/core/trunk/', :using => :svn
homepage 'http://saga-project.org'
md5 'a5cda84bdae1f96646f39fda0aa7db73'
depends_on 'boost'
depends_on 'postgresql'
def install
args = ["--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}",
"--with-postgresql=#{HOMEBREW_PREFIX}"]
system "./configure", *args
system "make install"
end
end