-
Notifications
You must be signed in to change notification settings - Fork 2
/
php-frankenphp-8.2-redis.yaml
58 lines (49 loc) · 1.3 KB
/
php-frankenphp-8.2-redis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package:
name: php-frankenphp-8.2-redis
version: 6.1.0
epoch: 0
description: "A PHP extension for Redis"
copyright:
- license: PHP-3.01
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.2
- php-frankenphp-8.2-igbinary
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- php-frankenphp-8.2
- php-frankenphp-8.2-dev
- php-frankenphp-8.2-igbinary-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/phpredis/phpredis
tag: ${{package.version}}
expected-commit: 5419cc9c60d1ee04163b4d5323dd0fb02fb4f8bb
- name: Prepare build
runs: phpize
- name: Configure
runs: ./configure --enable-redis-igbinary
- uses: autoconf/make
- name: Make install
runs: |
INSTALL_ROOT="${{targets.destdir}}" DESTDIR="${{targets.destdir}}" make install
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=redis.so" > "${{targets.subpkgdir}}/etc/php/conf.d/redis.ini"
- name: ${{package.name}}-dev
description: PHP 8.2 redis development headers
pipeline:
- uses: split/dev
update:
enabled: true
github:
identifier: phpredis/phpredis