Skip to content

Commit

Permalink
mongo-c 0.8
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#22096.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Adri脿 Planas authored and adamv committed Sep 14, 2013
1 parent 16c8f90 commit 9bf61fe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 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

0 comments on commit 9bf61fe

Please sign in to comment.