mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +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
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue