blob: c5343f878cab0f02f42a1f4f79694ce3e3cf5c41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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
|