Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.856 kb
require 'formula'
class PostgresqlInstalled < Requirement
def message; <<-EOS.undent
PostgresQL is required to install.
You can install this with:
brew install postgresql
Or you can use an official installer from:
http://www.postgresql.org/
EOS
end
def satisfied?
which 'pg_config'
end
end
class SagaCore < Formula
homepage 'http://saga-project.org'
url 'http://download.saga.cct.lsu.edu/saga-core/saga-core-1.6.tgz'
sha1 '89cc089b4feb5aae01ae5d371477d2d9a5204f1d'
head 'https://svn.cct.lsu.edu/repos/saga/core/trunk/'
depends_on 'boost'
depends_on PostgresqlInstalled.new
def install
system "./configure", "--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}",
"--with-postgresql=#{HOMEBREW_PREFIX}"
system "make install"
end
end
Jump to Line
Something went wrong with that request. Please try again.