forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrotli.yaml
66 lines (59 loc) · 1.53 KB
/
brotli.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
package:
name: brotli
version: 1.0.9
epoch: 0
description: "a generic lossless compression algorithm"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: MIT
secfixes:
1.0.9-r0:
- CVE-2020-8927
environment:
contents:
packages:
- wolfi-base
- busybox
- ca-certificates-bundle
- build-base
- autoconf
- automake
- libtool
pipeline:
- uses: fetch
with:
uri: https://github.com/google/brotli/archive/v${{package.version}}.tar.gz
expected-sha256: f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
- runs: |
./bootstrap
- uses: autoconf/configure
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: "brotli-dev"
description: "headers for brotli"
pipeline:
- uses: split/dev
dependencies:
runtime:
- brotli
- name: "libbrotlicommon1"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libbrotlicommon.so.* "${{targets.subpkgdir}}"/usr/lib/
- name: "libbrotlienc1"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libbrotlienc.so.* "${{targets.subpkgdir}}"/usr/lib/
- name: "libbrotlidec1"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libbrotlidec.so.* "${{targets.subpkgdir}}"/usr/lib/