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 pathmpfr.yaml
72 lines (69 loc) · 2.32 KB
/
mpfr.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
65
66
67
68
69
70
71
72
package:
name: mpfr
version: 4.1.0
epoch: 1
description: "multiple-precision floating-point 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/[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
- build-base
- ca-certificates-bundle
- texinfo
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-libstdc++-stage1
- cross-linux-headers
- cross-gmp
pipeline:
- uses: fetch
with:
uri: https://www.mpfr.org/mpfr-${{package.version}}/mpfr-${{package.version}}.tar.xz
expected-sha256: 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
- runs: |
./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
- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
subpackages:
- name: "cross-mpfr"
pipeline:
- runs: |
make install DESTDIR="${{targets.subpkgdir}}/usr/${{cross.triplet.gnu.glibc}}"
- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.subpkgdir}}/usr/${{cross.triplet.gnu.glibc}}/usr/share/info
options:
no-provides: true
no-depends: true
no-commands: true