Add support for decimal

This commit is contained in:
Michele Locati 2020-02-04 09:54:02 +01:00
parent 06289fb58b
commit 61dc6b4d4b
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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"