Sha256: 641c43581b70465f9eaf5936b49146a6f38cd497466ca5c16d6caef348dc4be0
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
require 'formula' class MongoPhp < Formula url 'http://pecl.php.net/get/mongo-1.1.4.tgz' homepage 'http://pecl.php.net/package/mongo' md5 '22f1e25690589f6d80d5ed29e56644eb' def install Dir.chdir "mongo-#{version}" do system "phpize" system "./configure", "--prefix=#{prefix}" system "make" prefix.install "modules/mongo.so" end end def caveats; <<-EOS.undent To finish installing MongoDB extension: * Add the following lines to #{etc}/php.ini: [mongo] extension="#{prefix}/mongo.so" * Restart your webserver EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
megalodon-0.1.1 | formulas/mongo-php.rb |
megalodon-0.1.0 | formulas/mongo-php.rb |