blob: e3b5b6fdf47903e825ac20fddec1ec7a2c95f8c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PHP_EXT_NAME="mysqlnd_ms"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
USE_PHP="php5-6"
# This is an SVN snapshot stored locally
SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz"
inherit php-ext-source-r3
HOMEPAGE="http://pecl.php.net/package/mysqlnd_ms"
KEYWORDS="~amd64"
DESCRIPTION="A replication and load balancing plugin for the mysqlnd library"
LICENSE="PHP-3"
SLOT="0"
IUSE=""
# Specifying targets due to USE flag transition
DEPEND="
dev-libs/libxml2
php_targets_php5-6? ( || (
dev-lang/php:5.6[-libmysqlclient,mysql,json]
dev-lang/php:5.6[-libmysqlclient,mysqli,json]
)
)
"
RDEPEND="${DEPEND}"
src_test() {
for slot in $(php_get_slots); do
php_init_slot_env "${slot}"
NO_INTERACTION="yes" emake test
done
}
|