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

25 lines
746 B
Bash

# Template file for 'php8.1-mongodb'
pkgname=php8.1-mongodb
version=1.16.1
revision=2
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="php8.1-devel autoconf pkg-config"
makedepends="php8.1-devel pcre2-devel openssl-devel"
depends="php8.1"
short_desc="Official MongoDB PHP driver"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="Apache-2.0"
homepage="https://pecl.php.net/package/mongodb"
changelog="https://pecl.php.net/package-changelog.php?package=mongodb"
distfiles="https://pecl.php.net/get/mongodb-$version.tgz"
checksum=2c5b7c7ccf6ca26d25af8487f4028390f0a7dc49efb2eb360a65840e1d6f566e
pre_configure() {
phpize8.1
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}