Use PECL to install igbinary

Test: igbinary, igbinary+memcached, igbinary+redis, igbinary+memcached+redis
pull/151/head
Michele Locati 2020-06-15 17:17:15 +02:00
parent ded00059c6
commit ee2e6917ec
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 5 additions and 9 deletions

View File

@ -1068,6 +1068,11 @@ installPECLModule() {
fi fi
fi fi
;; ;;
igbinary)
if test $1 -lt 700; then
installPECLModule_actual="$2-2.0.8"
fi
;;
memcache) memcache)
if test $1 -lt 700; then if test $1 -lt 700; then
installPECLModule_actual="$2-2.2.7" installPECLModule_actual="$2-2.2.7"
@ -1439,15 +1444,6 @@ for PHP_MODULE_TO_INSTALL in $PHP_MODULES_TO_INSTALL; do
cd - >/dev/null cd - >/dev/null
MODULE_SOURCE_CONFIGOPTIONS=--with-cmark MODULE_SOURCE_CONFIGOPTIONS=--with-cmark
;; ;;
igbinary)
if test $PHP_MAJMIN_VERSION -lt 700; then
MODULE_SOURCE="https://github.com/igbinary/igbinary/archive/2.0.8.tar.gz"
else
MODULE_SOURCE="https://github.com/igbinary/igbinary/archive/3.0.1.tar.gz"
fi
MODULE_SOURCE_CONFIGOPTIONS=--enable-igbinary
MODULE_SOURCE_CFLAGS='-O2 -g'
;;
snuffleupagus) snuffleupagus)
MODULE_SOURCE="https://codeload.github.com/jvoisin/snuffleupagus/tar.gz/v0.5.0" MODULE_SOURCE="https://codeload.github.com/jvoisin/snuffleupagus/tar.gz/v0.5.0"
MODULE_SOURCE_CONFIGOPTIONS=--enable-snuffleupagus MODULE_SOURCE_CONFIGOPTIONS=--enable-snuffleupagus