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 pathbison.yaml
64 lines (62 loc) · 1.98 KB
/
bison.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: bison
version: 3.8.2
epoch: 0
description: "The GNU general-purposes parser generator"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: GPL-3.0-or-later
dependencies:
runtime:
- m4
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:
- alpine-baselayout
- busybox
- perl
- ca-certificates-bundle
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-linux-headers
- perl
- m4
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/bison/bison-${{package.version}}.tar.gz
expected-sha256: 06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb
- name: 'Configure bison'
runs: |
./configure \
--prefix=/usr \
--libdir=/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--host=${{cross.triplet.gnu.glibc}} \
--target=${{cross.triplet.gnu.glibc}}
- runs: |
make -j$(nproc) V=1
- uses: autoconf/make-install
- runs: |
rm -rf "${{targets.destdir}}"/usr/lib
- uses: strip