Skip to content

Instantly share code, notes, and snippets.

@fceller
Created April 1, 2012 19:24
Show Gist options
  • Save fceller/2277939 to your computer and use it in GitHub Desktop.
Save fceller/2277939 to your computer and use it in GitHub Desktop.
Homebrew AvocadoDB 0.3.7
require 'formula'
class Avocadodb < Formula
url "https://github.com/triAGENS/AvocadoDB/zipball/v0.3.7"
head "https://github.com/triAGENS/AvocadoDB.git"
homepage 'http://www.avocadodb.org/'
sha1 '2bdc0069013f7cf21ba8144518aefc204e9d18d2'
depends_on 'libev'
depends_on 'v8'
depends_on 'boost'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-relative",
"--disable-all-in-one",
"--disable-debug",
"--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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment