diff --git a/data/supported-extensions b/data/supported-extensions index dc536f6..921cbc5 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -5,6 +5,7 @@ bz2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 cmark 7.0 7.1 7.2 7.3 7.4 dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 +decimal 7.0 7.1 7.2 7.3 7.4 enchant 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 gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 diff --git a/install-php-extensions b/install-php-extensions index 7e4509d..482d8c0 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -251,6 +251,10 @@ buildRequiredPackageLists() { cmark@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake" ;; + decimal@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmpdec2" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmpdec-dev" + ;; enchant@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent enchant" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile enchant-dev" @@ -1012,6 +1016,18 @@ installPECLModule() { installPECLModule_actual="$2-4.0.11" fi ;; + decimal) + case "$(getDistro)" in + alpine) + installPECLModule_src="$(getPackageSource https://codeload.github.com/bematech/libmpdec/tar.gz/master)" + cd -- "$installPECLModule_src" + ./configure CFLAGS='-w' + make -j$(nproc) + make install + cd - >/dev/null + ;; + esac + ;; gmagick) if test $1 -le 506; then installPECLModule_actual="$2-1.1.7RC3"