homebrew-core/Formula/sedna.rb

29 lines
616 B
Ruby
Raw Normal View History

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'
2011-11-30 02:54:32 +00:00
depends_on 'cmake' => :build
def install
2012-09-03 20:45:23 +00:00
mkdir 'bld' do
system "cmake", "..", *std_cmake_args
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>
Start your database manually with:
2012-09-03 20:45:23 +00:00
se_gov && se_sm <db name>
And stop with:
2012-09-03 20:45:23 +00:00
se_stop
EOS
end
end