mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-02 09:27:58 +01:00
Add support for decimal
This commit is contained in:
parent
06289fb58b
commit
61dc6b4d4b
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user