This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgzip.yaml
64 lines (60 loc) · 2.05 KB
/
gzip.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
package:
name: gzip
version: 1.12
epoch: 0
description: "GNU data compression program"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: GPL-3.0-or-later
dependencies:
runtime:
environment:
contents:
repositories:
- https://mirrors.edge.kernel.org/alpine/edge/main
- https://packages.wolfi.dev/bootstrap/stage1
keyring:
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/x86_64/[email protected]
- /usr/share/apk/keys/aarch64/[email protected]
- /usr/share/apk/keys/aarch64/[email protected]
- /usr/share/apk/keys/armv7/[email protected]
- /usr/share/apk/keys/armv7/[email protected]
- https://packages.wolfi.dev/bootstrap/stage1/wolfi-signing.rsa.pub
packages:
- busybox
- ssl_client
- ca-certificates-bundle
- build-base
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-linux-headers
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=${{cross.triplet.gnu.glibc}} \
--target=${{cross.triplet.gnu.glibc}} \
--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