-
Notifications
You must be signed in to change notification settings - Fork 2
/
php-frankenphp-8.2-protobuf.yaml
49 lines (42 loc) · 1.18 KB
/
php-frankenphp-8.2-protobuf.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
package:
name: php-frankenphp-8.2-protobuf
version: 4.28.2
epoch: 0
description: "Protocol Buffers - Google's data interchange format"
copyright:
- license: BSD-3-Clause
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.2
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- php-frankenphp-8.2
- php-frankenphp-8.2-dev
- protobuf-dev
pipeline:
- uses: fetch
with:
uri: https://pecl.php.net/get/protobuf-${{package.version}}.tgz
expected-sha512: 4ffb1c703e16ba6deca34cb3ec744f1a726535d839b5d2fe2f073866fa1f5fb52f96ed2e0553f3f53edc8c9ad60bf75830a7dea678984fcba821e9b9a831d0fa
- name: Prepare build
runs: phpize
- name: Build
runs: ./configure
- 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=protobuf.so" > "${{targets.subpkgdir}}/etc/php/conf.d/protobuf.ini"
update:
enabled: true
release-monitor:
identifier: 141406