live-bootstrap/sysc/mpfr-4.1.0/mpfr-4.1.0.sh

31 lines
666 B
Bash
Raw Normal View History

2021-04-17 23:54:19 +01:00
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="http://mirrors.kernel.org/gnu/mpfr/mpfr-4.1.0.tar.xz"
2021-04-17 23:54:19 +01:00
src_prepare() {
default
2021-04-17 23:54:19 +01:00
find . -name '*.info' -delete
2022-07-07 20:43:39 +01:00
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
2021-04-17 23:54:19 +01:00
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
2021-06-30 18:04:05 +01:00
--disable-shared
2021-04-17 23:54:19 +01:00
# 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
}