logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 6ea1ff2e54056c24267808e8d10d0fc43b929d05
parent 2e5ccce9be03a1cab623b78273b072db43c71287
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Sun, 18 Apr 2021 00:42:47 +0100

GNU MPC 1.2.1

Diffstat:

MSHA256SUMS.sources1+
Mparts.rst6++++++
Msysa.py3+++
Asysa/mpc-1.2.1/checksums3+++
Asysa/mpc-1.2.1/mpc-1.2.1.sh27+++++++++++++++++++++++++++
Msysa/run2.sh2++
6 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources @@ -44,6 +44,7 @@ c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4. 093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz 64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz 7a140e43565181bb54bf416117ea0efff057922ed284db5fc98b3740a7f3d956 mes-0.23.tar.gz +17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz 9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz diff --git a/parts.rst b/parts.rst @@ -617,3 +617,9 @@ mpfr 4.1.0 The GNU Multiple Precision Floating-Point Reliable Library (GNU MPFR) is a library for arbitrary-precision binary floating-point computation with correct rounding, based on GNU Multi-Precision Library. + +mpc 3.2.1 +========= + +GNU MPC is a library for multiprecision complex arithmetic with exact rounding based +on GNU MPFR. diff --git a/sysa.py b/sysa.py @@ -438,3 +438,6 @@ class SysA: # mpfr 4.1.0 self.get_file("https://mirrors.kernel.org/gnu/mpfr/mpfr-4.1.0.tar.xz") + + # mpc 1.2.1 + self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz") diff --git a/sysa/mpc-1.2.1/checksums b/sysa/mpc-1.2.1/checksums @@ -0,0 +1,3 @@ +c2c288f7a58cb409b253ff9288e09e11c998722ff34f2308083bad868cdcaf26 /after/lib/musl/libmpc.a +b512a0555d1a6207df00849fc9140c9de2286abdec05debf66313058dfa7cb90 /after/lib/musl/libmpc.la +6b6f58a6030ab502f6e483f931746ad0c6403c5618fb8850af1bc0fd6d13beb6 /after/lib/musl/libmpc.so.3.2.1 diff --git a/sysa/mpc-1.2.1/mpc-1.2.1.sh b/sysa/mpc-1.2.1/mpc-1.2.1.sh @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu> +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default_src_prepare + + find . -name '*.info' -delete + autoreconf-2.69 -fi +} + +src_configure() { + ./configure \ + --prefix="${PREFIX}" \ + --libdir="${PREFIX}/lib/musl" \ + --target=i386-unknown-linux-gnu \ + --host=i386-unknown-linux-gnu \ + --build=i386-unknown-linux-gnu +} + +src_compile() { + make MAKEINFO=true DESTDIR="${DESTDIR}" +} + +src_install() { + make MAKEINFO=true DESTDIR="${DESTDIR}" install +} diff --git a/sysa/run2.sh b/sysa/run2.sh @@ -26,6 +26,8 @@ build autoconf-archive-2021.02.19 build mpfr-4.1.0 +build mpc-1.2.1 + echo "Bootstrapping completed." exec env - PATH=/after/bin PS1="\w # " bash -i