You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
553 B
30 lines
553 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
USE_PHP="php7-3 php7-4 php8-0"
|
|
|
|
inherit php-ext-pecl-r3
|
|
|
|
DESCRIPTION="RRDtool bindings for PHP"
|
|
LICENSE="BSD"
|
|
SLOT="7"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="net-analyzer/rrdtool[graph(-)]"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=( "${FILESDIR}/${PV}" )
|
|
PHP_EXT_ECONF_ARGS=()
|
|
|
|
src_test() {
|
|
local slot
|
|
for slot in $(php_get_slots); do
|
|
php_init_slot_env "${slot}"
|
|
# Prepare test data
|
|
emake -C tests/data all
|
|
NO_INTERACTION="yes" emake test
|
|
done
|
|
}
|