homebrew-core/Formula/sedna.rb
Jack Nagel 0c89a5c8dd Remove redundant versions and update version tests
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-11 15:18:56 -05:00

30 lines
706 B
Ruby

require 'formula'
class Sedna < Formula
homepage 'http://modis.ispras.ru/sedna/index.html'
url 'http://www.modis.ispras.ru/FTPContent/sedna/current/sedna-3.4.66-src-darwin.tar.gz'
md5 '8c0006dbfb0ab89a63b4ae93e35f2213'
depends_on 'cmake' => :build
def install
path = pwd
# Build needs to be created from outside the source directory.
mktemp do
system "cmake #{std_cmake_parameters} #{path}"
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