Skip to content

Instantly share code, notes, and snippets.

@tisba
Created April 17, 2012 16:33
Show Gist options
  • Save tisba/2407338 to your computer and use it in GitHub Desktop.
Save tisba/2407338 to your computer and use it in GitHub Desktop.
brew formula for AvocadoDB
require 'formula'
class Avocadodb < Formula
url "https://github.com/triAGENS/AvocadoDB/zipball/v0.3.11"
head "https://github.com/triAGENS/AvocadoDB.git"
homepage 'http://www.avocadodb.org/'
sha1 '5189d501e8e8eed540acf7997be31dfc38315409'
depends_on 'libev'
depends_on 'v8'
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