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

@ -126,5 +126,6 @@ yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
zephir_parser 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zmq 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2

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