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 pathflex.yaml
More file actions
51 lines (49 loc) · 1.27 KB
/
flex.yaml
File metadata and controls
51 lines (49 loc) · 1.27 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: flex
version: 2.6.4
epoch: 0
description: "tool for generating text-scanning programs"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: BSD-2-Clause AND LGPL-2.0-or-later
dependencies:
runtime:
- m4
environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage2
keyring:
- https://packages.wolfi.dev/bootstrap/stage2/wolfi-signing.rsa.pub
packages:
- wolfi-baselayout
- busybox
- ca-certificates-bundle
- build-base
- bison
pipeline:
- uses: fetch
with:
uri: https://github.com/westes/flex/releases/download/v${{package.version}}/flex-${{package.version}}.tar.gz
expected-sha256: e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
- name: 'Configure flex'
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: |
ln -s flex ${{target.destdir}}/usr/bin/lex
- uses: strip