-
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.29.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: 7aafcf8e31c54a32cc1a0c37ab7c7eb180b211ad846f7e8964ddf18c56feeaea93f231df160aeb0a4d2a71c6f321e4b97ea4648ad2456ff5d0a45b987e82aec8
- 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