aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongo-php5-driver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mongo-php5-driver/APKBUILD')
-rw-r--r--testing/mongo-php5-driver/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/testing/mongo-php5-driver/APKBUILD b/testing/mongo-php5-driver/APKBUILD
index cd3dd78949..9986168025 100644
--- a/testing/mongo-php5-driver/APKBUILD
+++ b/testing/mongo-php5-driver/APKBUILD
@@ -7,7 +7,7 @@ _php=php5
pkgname=mongo-${_php}-driver
_realname=mongo-php-driver
pkgver=1.1.9
-pkgrel=0
+pkgrel=1
pkgdesc="Low-level PHP driver for MongoDB"
url="https://github.com/mongodb/mongo-php-driver"
arch="all"
@@ -21,6 +21,7 @@ subpackages=
source="$pkgname-$pkgver.tar.gz::https://github.com/mongodb/$_realname/archive/$pkgver.tar.gz
libbson-${libbson_ver}.tar.gz::https://github.com/mongodb/libbson/archive/${libbson_ver}.tar.gz
mongo-c-driver-${mongocdrv_ver}.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/${mongocdrv_ver}.tar.gz
+ mongodb.ini
"
builddir="$srcdir"/$_realname-$pkgver
@@ -66,14 +67,19 @@ build() {
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir" install || return 1
+ install -D -m644 "$srcdir"/mongodb.ini \
+ "$pkgdir"/etc/${_php}/conf.d/mongodb.ini || return 1
}
md5sums="055a42ad282adf2c26701ff321611493 mongo-php5-driver-1.1.9.tar.gz
5d79d5504a05d5a4cd952062e73ac781 libbson-1.3.6.tar.gz
-c28ea267a44ffe64c4dff64cad6bfc77 mongo-c-driver-1.3.6.tar.gz"
+c28ea267a44ffe64c4dff64cad6bfc77 mongo-c-driver-1.3.6.tar.gz
+6655e8bd293351ad3c110213ef42e2e5 mongodb.ini"
sha256sums="cf70d3016181b12108799e9fb7a8db7c859180d2544babf370b43b7f49d9b0f6 mongo-php5-driver-1.1.9.tar.gz
13f3358acf71e4d52bc006d68c7dcfb28a410e4f9b24470d9935ec8eed37fcd3 libbson-1.3.6.tar.gz
-c8d48cb1fdf054447a31381ff173733fdcf79e718ce360c7e9b8d506f60d8411 mongo-c-driver-1.3.6.tar.gz"
+c8d48cb1fdf054447a31381ff173733fdcf79e718ce360c7e9b8d506f60d8411 mongo-c-driver-1.3.6.tar.gz
+8b1a82a80dff7ec4cec7c0d4c8e41cb5d3487d2de810d05c07ac550f4196d332 mongodb.ini"
sha512sums="7bb82d1f89b907598328e3ade3cbbafc541b6a104531a4eaf10ad9ea1fbc56b1b222618871e1d15410708b9eeceb88464722f0c9eb719781366d785bf5d6a7ca mongo-php5-driver-1.1.9.tar.gz
cf6fb3e95b0bc49517190ebbf8592e57934866510c4f00ac04406f013ebca4873d3f615d98b4e36437f8b676f0434209d7321e45e5d131e144d294031f06cc59 libbson-1.3.6.tar.gz
-d4f04fe74ca757cbd04d68903dca80a104701e85c809d5acd21ad2b8d98368a24f1951700694b7acc853c405e66d44521aa82c933c23300e7f2c354c01d7bc24 mongo-c-driver-1.3.6.tar.gz"
+d4f04fe74ca757cbd04d68903dca80a104701e85c809d5acd21ad2b8d98368a24f1951700694b7acc853c405e66d44521aa82c933c23300e7f2c354c01d7bc24 mongo-c-driver-1.3.6.tar.gz
+acc09667ce1ceb1b5854a2d80f635be6ca7539df5a59043ff80e96759150e1715e5d16f8e97612ec43b504e50d08cda71da416b91d5d4da54f8284da1eefa2f3 mongodb.ini"