1 |
commit: 6bd4e0701716352b5c9cc6c716cf05d5b6211fde |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 6 16:05:22 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 6 16:05:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd4e070 |
7 |
|
8 |
dev-php/pecl-stomp: Revbump for 7.2 support |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
dev-php/pecl-stomp/pecl-stomp-2.0.1-r1.ebuild | 52 +++++++++++++++++++++++++++ |
13 |
1 file changed, 52 insertions(+) |
14 |
|
15 |
diff --git a/dev-php/pecl-stomp/pecl-stomp-2.0.1-r1.ebuild b/dev-php/pecl-stomp/pecl-stomp-2.0.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..dc494fe7404 |
18 |
--- /dev/null |
19 |
+++ b/dev-php/pecl-stomp/pecl-stomp-2.0.1-r1.ebuild |
20 |
@@ -0,0 +1,52 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
27 |
+PHP_EXT_NAME="stomp" |
28 |
+DOCS=( CREDITS doc/classes.php doc/functions.php ) |
29 |
+ |
30 |
+inherit php-ext-pecl-r3 |
31 |
+ |
32 |
+USE_PHP="php7-0 php7-1 php7-2" |
33 |
+ |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+ |
36 |
+DESCRIPTION="PHP extension to communicate with Stomp message brokers" |
37 |
+LICENSE="PHP-3.01" |
38 |
+SLOT="7" |
39 |
+IUSE="examples ssl test" |
40 |
+ |
41 |
+DEPEND="${DEPEND} |
42 |
+ php_targets_php7-0? ( dev-lang/php:7.0[ssl?] ) |
43 |
+ php_targets_php7-1? ( dev-lang/php:7.1[ssl?] ) |
44 |
+ php_targets_php7-2? ( dev-lang/php:7.1[ssl?] ) |
45 |
+" |
46 |
+ |
47 |
+RDEPEND="${DEPEND} |
48 |
+ php_targets_php5-6? ( dev-php/pecl-stomp:0 )" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then |
52 |
+ php-ext-source-r3_src_prepare |
53 |
+ else |
54 |
+ default |
55 |
+ fi |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7_2 ; then |
60 |
+ local PHP_EXT_ECONF_ARGS=( |
61 |
+ --enable-stomp |
62 |
+ --with-openssl-dir=$(usex ssl "${EPREFIX}/usr") |
63 |
+ ) |
64 |
+ php-ext-source-r3_src_configure |
65 |
+ fi |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7_2 ; then |
70 |
+ php-ext-pecl-r3_src_install |
71 |
+ fi |
72 |
+} |