From a241f29e3b7bc1a0d76f140de27d9df6d3863215 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Mon, 28 Nov 2016 15:40:04 -0500 Subject: dev-php/pecl-haru: Revbump to drop php 5.5 dependencies Package-Manager: portage-2.3.2 --- dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild 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 new file mode 100644 index 000000000000..54bd863defc9 --- /dev/null +++ b/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +USE_PHP="php5-6" + +inherit php-ext-pecl-r3 + +DESCRIPTION="An interface to libharu, a PDF generator" + +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="png zlib" + +DEPEND="media-libs/libharu[png?,zlib?]" +RDEPEND="${DEPEND}" + +src_configure() { + # config.m4 is broken checking paths, so we need to override it + local PHP_EXT_ECONF_ARGS=( + $(usex png '--with-png-dir=/usr' '') + $(usex zlib '--with-zlib-dir=/usr' '') + ) + + php-ext-source-r3_src_configure +} -- cgit v1.2.3-65-gdbad