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