New package: php8.1-mongodb-1.15.3

This commit is contained in:
Joel Beckmeyer 2023-03-30 15:10:17 -04:00 committed by Michal Vasilek
parent 0afe6bd418
commit 9cfdb6e9de
3 changed files with 28 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.so

View File

@ -0,0 +1,24 @@
# Template file for 'php8.1-mongodb'
pkgname=php8.1-mongodb
version=1.15.3
revision=1
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=4f2c4e417fb606b462e870ec03656f3a97ba0b399dc24a6d9d153e9846134388
pre_configure() {
phpize8.1
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}

View File

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