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 @@
# zstd
PHP extension for compression and decompression with Zstandard library.
| Platform | Url |
|----------|------------------------------------------------------------------|
| GitHub | https://github.com/kjdev/php-ext-zstd |
| Pecl | https://pecl.php.net/package/zstd |

View File

@@ -0,0 +1,20 @@
---
# Available Jinja2 variables:
# ---------------------------
# * {{ php_all_versions }}: Array of all PHP versions
all:
type: git
git_url: https://github.com/kjdev/php-ext-zstd
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-zstd --with-libzstd
build_dep: [libzstd-dev]
run_dep: [libzstd1]
# compiling from git breaks somehow (Pecl has the same version which works)
7.0:
type: pecl
build_dep: [libzstd-dev]
run_dep: [libzstd1]

View File

@@ -0,0 +1,25 @@
---
# The name of the module
name: zstd
# 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

View File

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