2010-09-25 15:13:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sedna < Formula
|
2012-09-03 20:45:23 +00:00
|
|
|
homepage 'http://www.sedna.org/index.html'
|
|
|
|
url 'http://www.modis.ispras.ru/FTPContent/sedna/current/sedna-3.5.161-src-darwin.tar.gz'
|
|
|
|
sha1 '8a30104b5c2027c6915bd9cfa44d72ef24b025ce'
|
2010-09-25 15:13:35 +00:00
|
|
|
|
2011-11-30 02:54:32 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-09-25 15:13:35 +00:00
|
|
|
|
|
|
|
def install
|
2012-09-03 20:45:23 +00:00
|
|
|
mkdir 'bld' do
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", "..", *std_cmake_args
|
2010-09-25 15:13:35 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
If this is your first install, create a database with:
|
2012-09-03 20:45:23 +00:00
|
|
|
se_cdb <db name>
|
2010-09-25 15:13:35 +00:00
|
|
|
|
|
|
|
Start your database manually with:
|
2012-09-03 20:45:23 +00:00
|
|
|
se_gov && se_sm <db name>
|
2010-09-25 15:13:35 +00:00
|
|
|
|
|
|
|
And stop with:
|
2012-09-03 20:45:23 +00:00
|
|
|
se_stop
|
2010-09-25 15:13:35 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|