mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-08 04:15:24 +01:00
GNU MPFR 4.1.0
This commit is contained in:
parent
41d8cc2825
commit
2e5ccce9be
7 changed files with 68 additions and 1 deletions
3
sysa/mpfr-4.1.0/checksums
Normal file
3
sysa/mpfr-4.1.0/checksums
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
c37eb935fe06afa7467369ac16d83b39d55f83aa01a53e15f5b8b1595dce298f /after/lib/musl/libmpfr.a
|
||||
3cb9910a3b257e489e16c03f7453d86120fc4f88d5e2cbabaf8852f19868ddb0 /after/lib/musl/libmpfr.la
|
||||
e7ab45d9acc58a74b32ea8b19095df2d4ac9b750e66fff53f1c5b69cb253f2c2 /after/lib/musl/libmpfr.so.6.1.0
|
||||
21
sysa/mpfr-4.1.0/files/mparam.h
Normal file
21
sysa/mpfr-4.1.0/files/mparam.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2005-2020 Free Software Foundation, Inc.
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
/* This file is truncated version of src/mparam.h
|
||||
*/
|
||||
|
||||
#ifndef __MPFR_IMPL_H__
|
||||
# error "MPFR Internal not included"
|
||||
#endif
|
||||
|
||||
#define MPFR_TUNE_CASE "default"
|
||||
|
||||
/****************************************************************
|
||||
* Default values of Threshold. *
|
||||
* Must be included in any case: it checks, for every constant, *
|
||||
* if it has been defined, and it sets it to a default value if *
|
||||
* it was not previously defined. *
|
||||
****************************************************************/
|
||||
#include "generic/mparam.h"
|
||||
30
sysa/mpfr-4.1.0/mpfr-4.1.0.sh
Executable file
30
sysa/mpfr-4.1.0/mpfr-4.1.0.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
# 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
|
||||
|
||||
# Disable tuning as that might cause non-reproducible build
|
||||
mv mparam.h src
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
|
|
@ -24,6 +24,8 @@ build gmp-6.2.1
|
|||
|
||||
build autoconf-archive-2021.02.19
|
||||
|
||||
build mpfr-4.1.0
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
||||
exec env - PATH=/after/bin PS1="\w # " bash -i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue