homebrew-core/Formula/mongo-c.rb
2014-04-19 12:16:27 -05:00

15 lines
415 B
Ruby

require 'formula'
class MongoC < Formula
homepage 'http://docs.mongodb.org/ecosystem/drivers/c/'
url 'https://github.com/mongodb/mongo-c-driver/releases/download/0.94.2/mongo-c-driver-0.94.2.tar.gz'
sha1 '5cc4dbb6298323f978de2a7367fe7ca50922037c'
depends_on 'pkg-config' => :build
depends_on 'libbson'
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
end