-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlz4.yaml
58 lines (48 loc) · 1.28 KB
/
lz4.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
package:
name: lz4
version: 1.9.4
epoch: 4
description: "lossless high performance compression algorithm"
copyright:
- license: BSD-2-Clause AND GPL-2.0-only
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- wolfi-base
pipeline:
- uses: fetch
with:
uri: https://github.com/lz4/lz4/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b
- runs: |
make -j$(nproc) CC=${{host.triplet.gnu}}-gcc
- runs: |
make install PREFIX="/usr" DESTDIR="${{targets.destdir}}"
- uses: strip
subpackages:
- name: "lz4-doc"
description: "lz4 documentation"
pipeline:
- uses: split/manpages
- uses: split/infodir
- name: "lz4-static"
description: "lz4 static library"
pipeline:
- uses: split/static
- name: "lz4-dev"
description: "lz4 development headers"
pipeline:
- uses: split/dev
- name: "liblz4-1"
description: "lz4 runtime libraries"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/liblz4.so.* "${{targets.subpkgdir}}"/usr/lib/
update:
enabled: true
release-monitor:
identifier: 1865