forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bison.yaml
46 lines (44 loc) · 1.12 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
package:
name: bison
version: 3.8.2
epoch: 3
description: "The GNU general-purposes parser generator"
copyright:
- license: GPL-3.0-or-later
dependencies:
runtime:
- m4
environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage3
keyring:
- https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub
packages:
- wolfi-baselayout
- busybox
- ca-certificates-bundle
- build-base
- 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=${{host.triplet.gnu}} \
--target=${{host.triplet.gnu}}
- runs: |
make -j$(nproc) V=1
- uses: autoconf/make-install
- runs: |
rm -rf "${{targets.destdir}}"/usr/lib
- uses: strip