1 |
commit: 8acac1023a44085ad5883ac7b20c47bc5ccbd098 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 01:27:14 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 01:27:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acac102 |
7 |
|
8 |
dev-php/pecl-mongodb: Version bump and include PHP 7.1 wrt bug 609018 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-php/pecl-mongodb/Manifest | 1 + |
13 |
dev-php/pecl-mongodb/pecl-mongodb-1.1.10.ebuild | 43 +++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest |
17 |
index 58aa602943..49826a8127 100644 |
18 |
--- a/dev-php/pecl-mongodb/Manifest |
19 |
+++ b/dev-php/pecl-mongodb/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST mongodb-1.1.10.tgz 661847 SHA256 1c779c50b5ebe25acf399d899d8df727d794588ee1ef3d2039ee0bbd7f287f18 SHA512 36096ceaec04aa4670b7d7d8e0b23edf786bab7184718642869455f5ddc6562eeb1a56f524550bea7f0dfe3aa44b12a25c32b20744ee8c843aacb1f03458ebd0 WHIRLPOOL 83670e7ec2928964deb4889f0edbb344e6594fb29133b4e56375fa26933d00227ee5a7a53ebda779e3dca9cc4ae6bc25bd6cc47cc192eeca473c4a87a32618cd |
22 |
DIST mongodb-1.1.8.tgz 806900 SHA256 b93ae7dc9bd270823965f8903c9acf47fe3a0ba7a630d08e8173ff091d593ae0 SHA512 1026b4081cd1c35f1f6fee6332c21dbe739320236377c0ed21b8d64447a9ba26464a919ceb9c16b332a64f12b834700472d6cbfb336d09d841c97ca0b402bf17 WHIRLPOOL 9cd2ce71f06684a3717e1cc016684d54b877f31166cbd194dc595dc878ebdda0320210ed090ac85d2aef40c94299499feedcf52faa712cec1c14aef1ae1f25d5 |
23 |
|
24 |
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.1.10.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.1.10.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..46582ddff8 |
27 |
--- /dev/null |
28 |
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.1.10.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PHP_EXT_NAME="mongodb" |
37 |
+USE_PHP="php5-6 php7-0 php7-1" |
38 |
+DOCS=( README.md ) |
39 |
+ |
40 |
+inherit php-ext-pecl-r3 |
41 |
+ |
42 |
+DESCRIPTION="MongoDB database driver for PHP" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="libressl pcre sasl" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) |
51 |
+ php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] ) |
52 |
+ php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) |
53 |
+ >=dev-libs/libbson-1.3.3 |
54 |
+ >=dev-libs/mongo-c-driver-1.3.3[sasl?,ssl] |
55 |
+ !libressl? ( dev-libs/openssl:0= ) |
56 |
+ libressl? ( dev-libs/libressl:0= ) |
57 |
+ pcre? ( dev-libs/libpcre ) |
58 |
+ sasl? ( dev-libs/cyrus-sasl ) |
59 |
+" |
60 |
+# pkgconfig needed if system libraries are used for bson and libmongoc |
61 |
+DEPEND="${RDEPEND} virtual/pkgconfig" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local PHP_EXT_ECONF_ARGS=( |
65 |
+ --enable-mongodb |
66 |
+ --with-libbson |
67 |
+ --with-libmongoc |
68 |
+ --with-pcre-dir=$(usex pcre) |
69 |
+ --with-mongodb-sasl=$(usex sasl) |
70 |
+ ) |
71 |
+ php-ext-source-r3_src_configure |
72 |
+} |