1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for zmq (#716)

This commit is contained in:
Anton Samofal 2023-03-07 00:51:59 +01:00 committed by GitHub
parent f175ea1470
commit 0cee94a8bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -1406,6 +1406,12 @@ buildRequiredPackageLists() {
;;
esac
;;
zmq@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent zeromq-dev"
;;
zmq@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libzmq3-dev"
;;
zookeeper@alpine)
if ! test -f /usr/local/include/zookeeper/zookeeper.h; then
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile maven automake libtool openjdk8"
@ -3622,6 +3628,18 @@ installRemoteModule() {
fi
fi
;;
zmq)
if test -z "$installRemoteModule_version"; then
installRemoteModule_src="$(getPackageSource https://github.com/zeromq/php-zmq/tarball/master)"
cd "$installRemoteModule_src"
phpize
./configure
make -j$(getProcessorCount)
make install
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
fi
;;
zookeeper)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then