1 |
commit: a241f29e3b7bc1a0d76f140de27d9df6d3863215 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 20:40:04 2016 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 20:57:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a241f29e |
7 |
|
8 |
dev-php/pecl-haru: Revbump to drop php 5.5 dependencies |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild | 29 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild b/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..54bd863 |
18 |
--- /dev/null |
19 |
+++ b/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild |
20 |
@@ -0,0 +1,29 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+USE_PHP="php5-6" |
28 |
+ |
29 |
+inherit php-ext-pecl-r3 |
30 |
+ |
31 |
+DESCRIPTION="An interface to libharu, a PDF generator" |
32 |
+ |
33 |
+LICENSE="PHP-3.01" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="png zlib" |
37 |
+ |
38 |
+DEPEND="media-libs/libharu[png?,zlib?]" |
39 |
+RDEPEND="${DEPEND}" |
40 |
+ |
41 |
+src_configure() { |
42 |
+ # config.m4 is broken checking paths, so we need to override it |
43 |
+ local PHP_EXT_ECONF_ARGS=( |
44 |
+ $(usex png '--with-png-dir=/usr' '') |
45 |
+ $(usex zlib '--with-zlib-dir=/usr' '') |
46 |
+ ) |
47 |
+ |
48 |
+ php-ext-source-r3_src_configure |
49 |
+} |