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 6
Expand file tree
/
Copy pathmpc.yaml
More file actions
66 lines (63 loc) · 2.07 KB
/
mpc.yaml
File metadata and controls
66 lines (63 loc) · 2.07 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package:
name: mpc
version: 1.2.1
epoch: 0
description: "multiple-precision C library"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: LGPL-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/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
- /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
- /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
- /usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub
- /usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub
- /usr/share/apk/keys/armv7/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
- /usr/share/apk/keys/armv7/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub
- https://packages.wolfi.dev/bootstrap/stage1/wolfi-signing.rsa.pub
packages:
- alpine-baselayout
- busybox
- build-base
- ca-certificates-bundle
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-libstdc++-stage1
- cross-linux-headers
- cross-gmp
- cross-mpfr
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/mpc/mpc-${{package.version}}.tar.gz
expected-sha256: 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
- runs: |
EGREP=egrep ./configure \
--host=${{cross.triplet.gnu.glibc}} \
--target=${{cross.triplet.gnu.glibc}} \
--with-sysroot=/usr/${{cross.triplet.gnu.glibc}} \
--prefix=/usr \
--enable-shared
- uses: autoconf/make
- uses: autoconf/make-install
subpackages:
- name: "cross-mpc"
pipeline:
- runs: |
make install DESTDIR="${{targets.subpkgdir}}/usr/${{cross.triplet.gnu.glibc}}"
options:
no-provides: true
no-depends: true
no-commands: true