aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdriĆ  Planas2013-08-23 20:40:56 +0200
committerAdam Vandenberg2013-09-13 21:38:58 -0700
commit7c71acc125a10f5cc84aaba345ed645e60e73f21 (patch)
treeee1a2d9db94f2790344af924fc5a6640dce022ca /Library
parentc777f844b63f7647b021ef123fc4356de17dd02c (diff)
downloadhomebrew-7c71acc125a10f5cc84aaba345ed645e60e73f21.tar.bz2
mongo-c 0.8
Closes #22096. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mongo-c.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/mongo-c.rb b/Library/Formula/mongo-c.rb
new file mode 100644
index 000000000..c78bc1c6a
--- /dev/null
+++ b/Library/Formula/mongo-c.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class MongoC < Formula
+ homepage 'http://docs.mongodb.org/ecosystem/drivers/c/'
+ url 'https://github.com/mongodb/mongo-c-driver/archive/v0.8.zip'
+ sha1 'f21924cea0011ad71309f86f1358d082d855aa79'
+
+ # Reported upstream:
+ # https://github.com/mxcl/homebrew/pull/22096
+ def patches
+ "https://gist.github.com/planas/6321873/raw"
+ end
+
+ def install
+ system "make"
+ system "make", "install", "DESTDIR=", "PREFIX=#{prefix}"
+ end
+end