-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphp-frankenphp-8.3-decimal.yaml
54 lines (46 loc) · 1.21 KB
/
php-frankenphp-8.3-decimal.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
package:
name: php-frankenphp-8.3-decimal
version: 1.5.0
epoch: 0
description: Correctly-rounded, arbitrary-precision decimal arithmetic for PHP
copyright:
- license: MIT
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.3
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- mpdecimal-dev
- php-frankenphp-8.3
- php-frankenphp-8.3-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/php-decimal/ext-decimal
tag: "v${{package.version}}"
expected-commit: 9b4d6f4cf282230a0949ef4204e0b6bfe29b2c51
- name: Prepare build
runs: phpize
- name: Configure
runs: ./configure
- 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=decimal.so" > "${{targets.subpkgdir}}/etc/php/conf.d/decimal.ini"
update:
enabled: true
github:
identifier: php-decimal/ext-decimal
strip-prefix: v
tag-filter: v
use-tag: true