-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcurl-rustls.yaml
69 lines (62 loc) · 1.56 KB
/
curl-rustls.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package:
name: curl-rustls
version: 8.6.0
epoch: 0
description: "URL retrieval utility and library"
copyright:
- license: MIT
dependencies:
runtime:
- libcurl-rustls4
checks:
disabled:
- empty # curl-rustls is expected to be empty, it brings in a runtime dep on libcurl-rustls4
environment:
contents:
packages:
- brotli-dev
- build-base
- busybox
- ca-certificates-bundle
- libpsl-dev
- nghttp2-dev
- openssl-dev
- perl
- rustls-ffi
- wolfi-base
- zlib-dev
pipeline:
- uses: fetch
with:
uri: https://curl.se/download/curl-${{package.version}}.tar.xz
expected-sha256: 3ccd55d91af9516539df80625f818c734dc6f2ecf9bada33c76765e99121db15
- uses: autoconf/configure
with:
opts: |
--enable-ipv6 \
--enable-unix-sockets \
--without-openssl \
--with-rustls \
--with-nghttp2 \
--with-pic \
--disable-ldap \
--without-libssh2
- uses: autoconf/make
- runs: |
make install DESTDIR="/home/build/curl-rustls"
subpackages:
- name: "libcurl-rustls4"
description: "curl library (rustls backend)"
dependencies:
provider-priority: 10
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "/home/build/curl-rustls"/usr/lib/libcurl.so.* "${{targets.subpkgdir}}"/usr/lib/
strip "${{targets.subpkgdir}}"/usr/lib/libcurl.so.*
update:
enabled: true
version-separator: _
github:
identifier: curl/curl
strip-prefix: curl-