1 |
commit: f5bf85269fcd3acce84f43a86b9d0d35570b8ebe |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Mar 25 12:54:24 2019 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 29 14:22:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bf8526 |
7 |
|
8 |
dev-php/pecl-mongodb: add PHP 7.3 support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/681132 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
13 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
14 |
|
15 |
dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild | 41 +++++++++++++++++++++++ |
16 |
1 file changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..62a5bf12833 |
21 |
--- /dev/null |
22 |
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild |
23 |
@@ -0,0 +1,41 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PHP_EXT_NAME="mongodb" |
30 |
+USE_PHP="php5-6 php7-1 php7-2 php7-3" |
31 |
+ |
32 |
+inherit php-ext-pecl-r3 |
33 |
+ |
34 |
+DESCRIPTION="MongoDB database driver for PHP" |
35 |
+ |
36 |
+LICENSE="Apache-2.0" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="libressl sasl" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) |
43 |
+ php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) |
44 |
+ php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) |
45 |
+ php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] )" |
46 |
+DEPEND="${COMMON_DEPEND} |
47 |
+ >=dev-libs/libbson-1.13.0 |
48 |
+ >=dev-libs/mongo-c-driver-1.13.0[sasl?,ssl] |
49 |
+ !libressl? ( dev-libs/openssl:0= ) |
50 |
+ libressl? ( dev-libs/libressl:0= ) |
51 |
+ sasl? ( dev-libs/cyrus-sasl )" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+BDEPEND="${COMMON_DEPEND} |
54 |
+ virtual/pkgconfig" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local PHP_EXT_ECONF_ARGS=( |
58 |
+ --enable-mongodb |
59 |
+ --with-libbson |
60 |
+ --with-libmongoc |
61 |
+ --with-mongodb-sasl=$(usex sasl) |
62 |
+ ) |
63 |
+ php-ext-source-r3_src_configure |
64 |
+} |