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,9 @@
# lz4
This extension allows LZ4.
Documentation for LZ4 can be found at » https://github.com/Cyan4973/lz4.
| Platform | Url |
|----------|------------------------------------------------------------------|
| GitHub | https://github.com/kjdev/php-ext-lz4 |

14
php_modules/lz4/build.yml Normal file
View File

@@ -0,0 +1,14 @@
---
# Available Jinja2 variables:
# ---------------------------
# * {{ php_all_versions }}: Array of all PHP versions
all:
type: git
git_url: https://github.com/kjdev/php-ext-lz4
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-lz4 --with-lz4-includedir=/usr
build_dep: [liblz4-dev]
run_dep: [liblz4-1]

View File

@@ -0,0 +1,25 @@
---
# The name of the module
name: lz4
# 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/lz4/test.yml Normal file
View File

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