From 194d0c9721ab3d0a3a5e75be11019f51cabb7d79 Mon Sep 17 00:00:00 2001 From: Sebastian Cohnen Date: Wed, 22 Feb 2012 18:39:26 +0100 Subject: new formula: avocadodb 0.1.2 Closes #10344. Signed-off-by: Max Howell --- Library/Formula/avocadodb.rb | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Library/Formula/avocadodb.rb (limited to 'Library/Formula') diff --git a/Library/Formula/avocadodb.rb b/Library/Formula/avocadodb.rb new file mode 100644 index 000000000..08c5458a1 --- /dev/null +++ b/Library/Formula/avocadodb.rb @@ -0,0 +1,45 @@ +require 'formula' + +class Avocadodb < Formula + url "https://github.com/triAGENS/AvocadoDB/zipball/v0.1.2" + head "https://github.com/triAGENS/AvocadoDB.git" + + homepage 'http://www.avocadodb.org/' + sha1 '3867395bd7bd3dcd847ff0103971bf0095a20086' + + depends_on 'libev' + depends_on 'v8' + depends_on 'boost' + + # force distributor to bundle a configure and not depend on automake! + depends_on "automake" if MacOS.xcode_version >= "4.3" + + def install + system "make setup" + + system "./configure", "--prefix=#{prefix}", + "--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 we'd realy appreciate it if you report them: + + https://github.com/triAGENS/AvocadoDB/issues + + To start AvocadoDB, run: + avocado + + To start AvocadoDB with an interactive (REPL) shell, run: + avocado --shell + EOS + end +end \ No newline at end of file -- cgit v1.2.3