29 lines
803 B
Bash
29 lines
803 B
Bash
# Template file for 'php8.2-mongodb'
|
|
pkgname=php8.2-mongodb
|
|
version=1.19.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-php-config=/usr/bin/php-config8.2"
|
|
hostmakedepends="php8.2-devel autoconf pkg-config"
|
|
makedepends="php8.2-devel pcre2-devel openssl-devel"
|
|
depends="php8.2"
|
|
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=a9e17b024971b78c896413b46722444e5c0d004e3de271490c9d3d55e34268e9
|
|
|
|
pre_configure() {
|
|
phpize8.2
|
|
}
|
|
|
|
pre_install() {
|
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
|
}
|
|
|
|
post_install() {
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|