#!/bin/bash -e

curl -sL https://github.com/mongodb/mongo-php-driver/archive/<%= @version %>.tar.gz | tar -xzf -
cd mongo-php-driver-<%= @version %>/
phpize
./configure
make
make install

#!/bin/bash -e

curl -sL https://github.com/mongodb/mongo-php-driver-legacy/archive/<%= @version %>.tar.gz | tar -xzf -
cd mongo-php-driver-legacy-<%= @version %>/
phpize
./configure
make
make install

Update mongodb php driver to use "legacy" url
Update mongodb php driver to use "legacy" url
