logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

pass1.sh (773B)


  1. # SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. default
  6. find . -name '*.info' -delete
  7. AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
  8. }
  9. src_configure() {
  10. ./configure \
  11. --prefix="${PREFIX}" \
  12. --libdir="${LIBDIR}" \
  13. --disable-shared
  14. # Disable tuning as that might cause non-reproducible build
  15. mv mparam.h src
  16. }
  17. src_compile() {
  18. make "${MAKEJOBS}" MAKEINFO=true DESTDIR="${DESTDIR}"
  19. }
  20. src_install() {
  21. make MAKEINFO=true DESTDIR="${DESTDIR}" install
  22. }
  23. src_postprocess() {
  24. # For some unexplainable reason, stripping mpfr breaks GCC 10 build.
  25. # I cannot make any sense of the error, so skip for now.
  26. :
  27. }