diff --git a/data/supported-extensions b/data/supported-extensions index 4ed3556..7d55b10 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -12,6 +12,7 @@ ev 5.5 5.6 7.0 7.1 7.2 7.3 7.4 exif 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 ffi 7.4 8.0 gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 +gearman 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gettext 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gmagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 gmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 diff --git a/install-php-extensions b/install-php-extensions index 4073e6f..4975516 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -437,6 +437,14 @@ buildRequiredPackageLists() { buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libwebp-dev" fi ;; + gearman@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++ libuuid" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile boost-dev gperf libmemcached-dev libevent-dev util-linux-dev" + ;; + gearman@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libgearman[0-9]*$" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgearman-dev" + ;; gettext@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libintl" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile gettext-dev" @@ -1444,6 +1452,25 @@ installRemoteModule() { ;; esac ;; + gearman) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -le 506; then + installRemoteModule_version=1.1.2 + fi + fi + case "$DISTRO" in + alpine) + if ! test -e /usr/local/include/libgearman/gearman.h || ! test -e /usr/local/lib/libgearman.so; then + installRemoteModule_src="$(getPackageSource https://github.com/gearman/gearmand/releases/download/1.1.19.1/gearmand-1.1.19.1.tar.gz)" + cd -- "$installRemoteModule_src" + ./configure + make -j$(getProcessorCount) install-binPROGRAMS + make -j$(getProcessorCount) install-nobase_includeHEADERS + cd - >/dev/null + fi + ;; + esac + ;; gmagick) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then