# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" MY_PV="${PV/rc/RC}" USE_PHP="php7-4 php8-0 php8-1 php8-2 php8-3" inherit php-ext-pecl-r3 KEYWORDS="~amd64 ~x86 ~arm64" PHP_EXT_NAME="snappy" DESCRIPTION="PHP wrapper for snappy" HOMEPAGE="https://github.com/kjdev/php-ext-snappy" LICENSE="PHP-3" SLOT="0" SRC_URI="https://github.com/kjdev/php-ext-snappy/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/php-ext-snappy-${PV}" PHP_EXT_S="${S}" DEPEND="app-arch/snappy" RDEPEND="${DEPEND}" PHP_EXT_ECONF_ARGS="--with-snappy-includedir=/usr"