Add support for lz4 (#596)

pull/598/head
Fred Cox 2022-06-16 15:49:29 +03:00 committed by GitHub
parent 09bca7b060
commit b1d802ef8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jsmin 5.5 5.6 7.0 7.1 7.2 7.3 7.4
json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
luasandbox 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 luasandbox 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
lz4 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
maxminddb 7.2 7.3 7.4 8.0 8.1 8.2 maxminddb 7.2 7.3 7.4 8.0 8.1 8.2

View File

@ -901,6 +901,14 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblua5.1-0" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblua5.1-0"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liblua5.1-0-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liblua5.1-0-dev"
;; ;;
lz4@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent lz4-libs"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile lz4-dev"
;;
lz4@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblz4-1"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liblz4-dev"
;;
maxminddb@alpine) maxminddb@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmaxminddb" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmaxminddb"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmaxminddb-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmaxminddb-dev"
@ -2676,6 +2684,20 @@ installRemoteModule() {
fi fi
fi fi
;; ;;
lz4)
if test -z "$installRemoteModule_path"; then
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=0.4.3
fi
installRemoteModule_src="$(getPackageSource https://github.com/kjdev/php-ext-lz4/archive/refs/tags/$installRemoteModule_version.tar.gz)"
cd "$installRemoteModule_src"
phpize
./configure --with-lz4-includedir=/usr
make -j$(getProcessorCount) install
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
fi
;;
lzf) lzf)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 702; then if test $PHP_MAJMIN_VERSION -lt 702; then