mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 00:45:46 +02:00
28 lines
607 B
Bash
28 lines
607 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PHP_EXT_NAME="yaz"
|
|
PHP_EXT_INI="yes"
|
|
PHP_EXT_ZENDEXT="no"
|
|
DOCS=( README )
|
|
|
|
USE_PHP="php8-2 php8-3"
|
|
|
|
inherit php-ext-pecl-r3
|
|
|
|
DESCRIPTION="This extension implements a Z39.50 client for PHP using the YAZ toolkit"
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm ~hppa ~ppc64 ~s390 ~sparc x86"
|
|
RESTRICT="test"
|
|
|
|
DEPEND=">=dev-libs/yaz-3.0.2:0="
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
# Needs network access to z3950.indexdata.com
|
|
PROPERTIES="test_network"
|
|
|
|
PHP_EXT_ECONF_ARGS="--with-yaz=/usr"
|