void-packages/srcpkgs/php8.1-igbinary/template

26 lines
729 B
Bash

# Template file for 'php8.1-igbinary'
pkgname=php8.1-igbinary
version=3.2.12
revision=1
build_wrksrc=igbinary-$version
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="autoconf php8.1-devel"
makedepends="php8.1-devel"
depends="php8.1"
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=b69cffdf054cc6e6b02893ff77cf440cec8c7a87d2dc00c1af183c212269581c
pre_configure() {
phpize8.1
}
do_install() {
make INSTALL_ROOT="${DESTDIR}" install
vlicense COPYING
}