Add support for lz4 (#596)
parent
09bca7b060
commit
b1d802ef8a
|
@ -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
|
||||
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
|
||||
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
|
||||
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
|
||||
|
|
|
@ -901,6 +901,14 @@ buildRequiredPackageLists() {
|
|||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblua5.1-0"
|
||||
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)
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmaxminddb"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmaxminddb-dev"
|
||||
|
@ -2676,6 +2684,20 @@ installRemoteModule() {
|
|||
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)
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
if test $PHP_MAJMIN_VERSION -lt 702; then
|
||||
|
|
Loading…
Reference in New Issue