New package: php8.4-mongodb-2.1.0

This commit is contained in:
Joel Beckmeyer 2024-12-17 11:17:23 -05:00 committed by Duncan Overbruck
parent 1053298ee5
commit 6708852254
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,3 @@
To enable the MongoDB extension add the following line to your php.ini:
extension=mongodb

View file

@ -0,0 +1,28 @@
# Template file for 'php8.4-mongodb'
pkgname=php8.4-mongodb
version=2.1.0
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.4"
hostmakedepends="php8.4-devel autoconf pkg-config"
makedepends="php8.4-devel pcre2-devel openssl-devel"
depends="php8.4"
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=2717abd81cdff4a1ed1f08d9f77d9c3601a9d934e89bc5441617f7c0acd62d17
pre_configure() {
phpize8.4
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
}

View file

@ -0,0 +1 @@
pattern='<th.*Release \K[\d.]+(?=:</th>)'