summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-07-25 10:10:25 -0400
committerBrian Evans <grknight@gentoo.org>2016-07-25 10:10:25 -0400
commit67176abf30b389e565a8439d50aaca648053e51a (patch)
tree1a0eb7bbc23dc67e0b80eaef8860845f9294339a /dev-php/pecl-mongodb
parentdev-php/pecl-imagick: Drop old (diff)
downloadgentoo-67176abf30b389e565a8439d50aaca648053e51a.tar.gz
gentoo-67176abf30b389e565a8439d50aaca648053e51a.tar.bz2
gentoo-67176abf30b389e565a8439d50aaca648053e51a.zip
dev-php/pecl-mongodb: Version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php/pecl-mongodb')
-rw-r--r--dev-php/pecl-mongodb/Manifest1
-rw-r--r--dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest
index d61d58058af4..a8ae82f3cf1f 100644
--- a/dev-php/pecl-mongodb/Manifest
+++ b/dev-php/pecl-mongodb/Manifest
@@ -1 +1,2 @@
DIST mongodb-1.1.7.tgz 806777 SHA256 65bfb564d9a53a7642a02f07085bd9055b43522250649886ed65a37771cf9b49 SHA512 306e738dc19efd88cb3759130837c4870773969f71aed9932a6449dde1421df60042638a55ac2ce5f1d713fdb05a47eb5de6b478fe5a695042f149ca9110f6a9 WHIRLPOOL 8c690a436519422b9502104df9a694c64cbe12cecfc138d1c6ccb0916aa0743ed00021e79dca396b9dbb8e5f227076f3e7d5b0b203a1603093aa21311727cb4a
+DIST mongodb-1.1.8.tgz 806900 SHA256 b93ae7dc9bd270823965f8903c9acf47fe3a0ba7a630d08e8173ff091d593ae0 SHA512 1026b4081cd1c35f1f6fee6332c21dbe739320236377c0ed21b8d64447a9ba26464a919ceb9c16b332a64f12b834700472d6cbfb336d09d841c97ca0b402bf17 WHIRLPOOL 9cd2ce71f06684a3717e1cc016684d54b877f31166cbd194dc595dc878ebdda0320210ed090ac85d2aef40c94299499feedcf52faa712cec1c14aef1ae1f25d5
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild
new file mode 100644
index 000000000000..9c0db98eca5b
--- /dev/null
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PHP_EXT_NAME="mongodb"
+USE_PHP="php5-6 php7-0"
+DOCS=( README.md )
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="MongoDB database driver for PHP"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl pcre sasl"
+
+RDEPEND="
+ php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] )
+ php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] )
+ >=dev-libs/libbson-1.3.3
+ >=dev-libs/mongo-c-driver-1.3.3[sasl?,ssl]
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ pcre? ( dev-libs/libpcre )
+ sasl? ( dev-libs/cyrus-sasl )
+"
+# pkgconfig needed if system libraries are used for bson and libmongoc
+DEPEND="${RDEPEND} virtual/pkgconfig"
+
+src_configure() {
+ local PHP_EXT_ECONF_ARGS=( --enable-mongodb --with-libbson --with-libmongoc )
+ PHP_EXT_ECONF_ARGS+=( --with-pcre-dir=$(usex pcre yes no) --with-mongodb-sasl=$(usex sasl yes no) )
+ php-ext-source-r3_src_configure
+}