diff options
| author | Rolf Timmermans | 2010-09-25 17:13:35 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-25 09:25:56 -0700 |
| commit | 3b63c85213df0476c9ccf65282cf45ac77cdac01 (patch) | |
| tree | 59ba77eb5c22e9a94e5a2872073791fa56d3eeb6 /Library | |
| parent | 366d3cc7c094206de2fb07af01a41f6ce12762e5 (diff) | |
| download | homebrew-3b63c85213df0476c9ccf65282cf45ac77cdac01.tar.bz2 | |
Added formula for Sedna XML database.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sedna.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/sedna.rb b/Library/Formula/sedna.rb new file mode 100644 index 000000000..1baa9f7fe --- /dev/null +++ b/Library/Formula/sedna.rb @@ -0,0 +1,31 @@ +require 'formula' + +class Sedna <Formula + url 'http://www.modis.ispras.ru/FTPContent/sedna/current/sedna-3.4.59-src-darwin.tar.gz' + homepage 'http://modis.ispras.ru/sedna/index.html' + md5 '77a946163d60ace1bc940b8b71267a31' + version '3.4.59' + + 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 |
