gentoo-ebuilds/dev-php/pecl-rrd/pecl-rrd-2.0.3.ebuild
Bertrand Jacquin 55eb7403eb
*/*: remove reference to php8.1
php 8.1 is no longer part of portage tree since 2025-03-17 via
e8ed893286.

Bug: https://bugs.gentoo.org/959495
Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
Part-of: https://github.com/gentoo/gentoo/pull/42868
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-13 09:27:11 +01:00

30 lines
568 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
USE_PHP="php8-2"
inherit php-ext-pecl-r3
DESCRIPTION="RRDtool bindings for PHP"
LICENSE="BSD"
SLOT="7"
KEYWORDS="~amd64 ~x86"
DEPEND="net-analyzer/rrdtool[graph(-)]"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
#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
}