homebrew-core/Formula/avocadodb.rb

40 lines
1.0 KiB
Ruby

require 'formula'
class Avocadodb < Formula
homepage 'http://www.avocadodb.org/'
url "https://github.com/triAGENS/AvocadoDB/tarball/v0.3.7"
sha1 '99223ea26b679c92ba431a4743a7143dd6a4adf3'
head "https://github.com/triAGENS/AvocadoDB.git"
depends_on 'libev'
depends_on 'v8'
depends_on 'boost'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-relative",
"--disable-all-in-one",
"--disable-dependency-tracking",
"--datadir=#{share}",
"--localstatedir=#{var}"
system "make install"
(var+'avocado').mkpath
end
def caveats; <<-EOS.undent
Please note that this is a very early version if AvocadoDB. There will be
bugs and the AvocadoDB team would really appreciate it if you report them:
https://github.com/triAGENS/AvocadoDB/issues
To start the AvocadoDB server, run:
avocado
To start the AvocadoDB shell, run:
avocsh
EOS
end
end