This repository was archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathgzip.yaml
More file actions
51 lines (47 loc) · 1.26 KB
/
gzip.yaml
File metadata and controls
51 lines (47 loc) · 1.26 KB
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
package:
name: gzip
version: 1.12
epoch: 1
description: "GNU data compression program"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: GPL-3.0-or-later
dependencies:
runtime:
environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage2
keyring:
- https://packages.wolfi.dev/bootstrap/stage2/wolfi-signing.rsa.pub
packages:
- busybox
- ca-certificates-bundle
- build-base
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/gzip/gzip-${{package.version}}.tar.gz
expected-sha256: 5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085
- name: Configure
runs: |
export DEFS="NO_ASM"
./configure \
--host=${{host.triplet.gnu}} \
--target=${{host.triplet.gnu}} \
--prefix=/usr \
--datadir=/usr/share
- uses: autoconf/make
- uses: autoconf/make-install
- runs: |
mkdir -p ${{targets.destdir}}/bin
for i in gzip gunzip; do
mv ${{targets.destdir}}/usr/bin/${i} ${{targets.destdir}}/bin/${i}
ln -s /bin/${i} ${{targets.destdir}}/usr/bin/${i}
done
ln -sf /bin/gunzip ${{targets.destdir}}/usr/bin/uncompress
- uses: strip