From f3598496b31da0cd5b299d3a1099346059b39af6 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 2 Jan 2021 20:53:03 +0100 Subject: [PATCH] Add support for xlswriter --- data/supported-extensions | 1 + install-php-extensions | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/data/supported-extensions b/data/supported-extensions index 06245dd..10ca10b 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -82,6 +82,7 @@ uuid 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 wddx 5.5 5.6 7.0 7.1 7.2 7.3 xdebug 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 +xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 yaml 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 ec6f1a6..579c268 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -776,6 +776,12 @@ buildRequiredPackageLists() { uuid@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile uuid-dev" ;; + xlswriter@alpine) + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile zlib-dev" + ;; + xlswriter@debian) + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile zlib1g-dev" + ;; wddx@alpine) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev" ;; @@ -1881,6 +1887,12 @@ installRemoteModule() { fi fi ;; + xlswriter) + if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 1.2.7) -ge 0; then + # enable reader supports? + addConfigureOption enable-reader yes + fi + ;; yaml) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -lt 700; then