# Template file for 'php8.5-igbinary'
pkgname=php8.5-igbinary
version=3.2.17RC1
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.5"
hostmakedepends="autoconf php8.5-devel"
makedepends="php8.5-devel"
depends="php8.5"
short_desc="Igbinary is a drop in replacement for the standard php serializer"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="BSD-3-Clause"
homepage="https://github.com/igbinary/igbinary/"
distfiles="https://pecl.php.net/get/igbinary-${version}.tgz"
checksum=91da821443db125282a6aea039f24588dd28ff5d71e8187f6ecc41165bceafbc

pre_configure() {
	phpize8.5
}

do_install() {
	make INSTALL_ROOT="${DESTDIR}" install
	vlicense COPYING
}
