-
Notifications
You must be signed in to change notification settings - Fork 2
/
php-frankenphp-8.4-ssh2.yaml
52 lines (45 loc) · 1.14 KB
/
php-frankenphp-8.4-ssh2.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
package:
name: php-frankenphp-8.4-ssh2
version: 1.4.1
epoch: 0
description: "Bindings for the libssh2 library"
copyright:
- license: PHP-3.01
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.4
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- libssh2-dev
- php-frankenphp-8.4
- php-frankenphp-8.4-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/php/pecl-networking-ssh2
tag: "${{package.version}}"
expected-commit: 65c0da1b18373e2286d1569a176101583225a2c0
- 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=ssh2.so" > "${{targets.subpkgdir}}/etc/php/conf.d/ssh2.ini"
update:
enabled: true
github:
identifier: php/pecl-networking-ssh2
use-tag: true
tag-filter-prefix: 1.