diff --git a/srcpkgs/php8.1-igbinary/template b/srcpkgs/php8.1-igbinary/template new file mode 100644 index 0000000000..14fadb10e2 --- /dev/null +++ b/srcpkgs/php8.1-igbinary/template @@ -0,0 +1,25 @@ +# Template file for 'php8.1-igbinary' +pkgname=php8.1-igbinary +version=3.2.7 +revision=1 +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 " +license="BSD-3-Clause" +homepage="https://github.com/igbinary/igbinary/" +distfiles="https://pecl.php.net/get/igbinary-${version}.tgz" +checksum=d0dc0d0b56a985f4f52cea20717133d3da05368876bc0f94317c1e60e0319e7d + +pre_configure() { + phpize8.1 +} + +do_install() { + make INSTALL_ROOT="${DESTDIR}" install + vlicense COPYING +}