forked from wolfi-dev/os
/
mpc.yaml
52 lines (49 loc) · 1.17 KB
/
mpc.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
package:
name: mpc
version: 1.2.1
epoch: 2
description: "multiple-precision C library"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: LGPL-3.0-or-later
dependencies:
runtime:
environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage3
keyring:
- https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub
packages:
- wolfi-baselayout
- busybox
- build-base
- ca-certificates-bundle
- gmp-dev
- mpfr-dev
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/mpc/mpc-${{package.version}}.tar.gz
expected-sha256: 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
- runs: |
EGREP=egrep ./configure \
--host=$(uname -m)-pc-linux-gnu \
--target=$(uname -m)-pc-linux-gnu \
--prefix=/usr \
--enable-shared
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: "mpc-dev"
description: "multiple-precision C library headers"
pipeline:
- uses: split/dev
dependencies:
runtime:
- mpc