Added extensions: lz4, lzf and zstd

This commit is contained in:
cytopia
2022-12-01 09:22:45 +01:00
parent c64e92e94e
commit f2d1e41377
28 changed files with 983 additions and 48 deletions

View File

@@ -0,0 +1,8 @@
# lzf
LZF is a very fast compression algorithm, ideal for saving space with only slight speed cost. It can be optimized for speed or space at the time of compilation. This extension is using liblzf library by Marc Lehmann for its operations.
| Platform | Url |
|----------|------------------------------------------------------------------|
| PHP.net | https://www.php.net/manual/en/book.lzf.php |
| Pecl | https://pecl.php.net/package/lzf |

28
php_modules/lzf/build.yml Normal file
View File

@@ -0,0 +1,28 @@
---
# Available Jinja2 variables:
# ---------------------------
# * {{ php_all_versions }}: Array of all PHP versions
all:
type: pecl
build_dep: [liblzf-dev]
run_dep: [liblzf1]
7.2:
type: pecl
build_dep: []
run_dep: []
7.1:
type: pecl
version: 1.6.8
build_dep: []
run_dep: []
7.0:
type: pecl
version: 1.6.8
build_dep: []
run_dep: []

View File

@@ -0,0 +1,25 @@
---
# The name of the module
name: lzf
# Exclude module build/installation for the following PHP versions
exclude: [5.2, 5.3, 5.4, 5.5, 5.6]
# In order for this module to built correctly against all dependencies,
# the following modules must have been built first.
depends_build:
- apcu
# In order for this module to function correctly,
# the following modules must be loaded before.
depends_load: []
# If the following PHP modules are loaded, this module will not behave as expected.
conflicts_load: []
# Enable this module by default via php.ini for PHP cli command?
enabled_php_cli: true
# Enable this module by default via php.ini for PHP-FPM?
enabled_php_fpm: true

1
php_modules/lzf/test.yml Normal file
View File

@@ -0,0 +1 @@
---