diff options
| author | Sebastian Cohnen | 2012-02-22 18:39:26 +0100 |
|---|---|---|
| committer | Max Howell | 2012-03-01 16:32:16 +0000 |
| commit | 194d0c9721ab3d0a3a5e75be11019f51cabb7d79 (patch) | |
| tree | 87f9e99c3a6e65b959b4fb2cc22024e9d374ae8e /Library/Formula | |
| parent | ace9e4a0a721446ce7b5ce26291440ceeb4602c7 (diff) | |
| download | homebrew-194d0c9721ab3d0a3a5e75be11019f51cabb7d79.tar.bz2 | |
new formula: avocadodb 0.1.2
Closes #10344.
Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/avocadodb.rb | 45 |
1 files changed, 45 insertions, 0 deletions
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 |
