2010-09-25 15:13:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sedna < Formula
|
2010-11-21 12:08:56 +00:00
|
|
|
url 'http://www.modis.ispras.ru/FTPContent/sedna/current/sedna-3.4.66-src-darwin.tar.gz'
|
2010-09-25 15:13:35 +00:00
|
|
|
homepage 'http://modis.ispras.ru/sedna/index.html'
|
2010-11-21 12:08:56 +00:00
|
|
|
md5 '8c0006dbfb0ab89a63b4ae93e35f2213'
|
|
|
|
version '3.4.66'
|
2010-09-25 15:13:35 +00:00
|
|
|
|
|
|
|
depends_on 'cmake'
|
|
|
|
|
|
|
|
def install
|
|
|
|
path = pwd
|
|
|
|
# Build needs to be created from outside the source directory.
|
|
|
|
mktemp do
|
|
|
|
system "cmake #{path} #{std_cmake_parameters}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
If this is your first install, create a database with:
|
|
|
|
se_cdb <db name>
|
|
|
|
|
|
|
|
Start your database manually with:
|
|
|
|
se_gov && se_sm <db name>
|
|
|
|
|
|
|
|
And stop with:
|
|
|
|
se_stop
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|