1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
10 PHP_INI_NAME="30-${PHP_EXT_NAME}"
12 USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
14 inherit php-ext-pecl-r3
16 # Only really build for 7.x
17 USE_PHP="php7-1 php7-2 php7-3 php7-4"
19 KEYWORDS="~amd64 ~x86"
21 DESCRIPTION="A reusable, persistent handle and resource factory API"
26 RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )"
29 if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
30 php-ext-source-r3_src_prepare
37 if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
38 php-ext-pecl-r3_src_install