mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-11 07:12:56 +02:00
New package: php8.4-mongodb-2.1.0
This commit is contained in:
parent
1053298ee5
commit
6708852254
3 changed files with 32 additions and 0 deletions
3
srcpkgs/php8.4-mongodb/files/README.voidlinux
Normal file
3
srcpkgs/php8.4-mongodb/files/README.voidlinux
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
To enable the MongoDB extension add the following line to your php.ini:
|
||||||
|
|
||||||
|
extension=mongodb
|
28
srcpkgs/php8.4-mongodb/template
Normal file
28
srcpkgs/php8.4-mongodb/template
Normal 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"
|
||||||
|
}
|
1
srcpkgs/php8.4-mongodb/update
Normal file
1
srcpkgs/php8.4-mongodb/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pattern='<th.*Release \K[\d.]+(?=:</th>)'
|
Loading…
Add table
Reference in a new issue