2011-10-19 14:11:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class SagaCore < Formula
|
|
|
|
homepage 'http://saga-project.org'
|
2012-02-10 07:01:21 +00:00
|
|
|
url 'http://download.saga.cct.lsu.edu/saga-core/saga-core-1.6.tgz'
|
2011-10-19 14:11:38 +00:00
|
|
|
md5 'a5cda84bdae1f96646f39fda0aa7db73'
|
|
|
|
|
2012-02-10 07:01:21 +00:00
|
|
|
head 'https://svn.cct.lsu.edu/repos/saga/core/trunk/', :using => :svn
|
|
|
|
|
2011-10-19 14:11:38 +00:00
|
|
|
depends_on 'boost'
|
|
|
|
depends_on 'postgresql'
|
|
|
|
|
|
|
|
def install
|
2012-02-10 07:01:21 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{HOMEBREW_PREFIX}",
|
|
|
|
"--with-postgresql=#{HOMEBREW_PREFIX}"
|
2011-10-19 14:11:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|