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:
parent
f175ea1470
commit
0cee94a8bb
2 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue