-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphp-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.3
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: a376f9779b18e001b4c663eaa7ae09b1249076cb2693ebe0b4f55bab84f234e14f06105281ed3994251aeb5cbc3cd12c1965594729406ff4d8711b1716f73f53
- 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