logo

live-bootstrap

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

pass1.sh (928B)


  1. # SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. # SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
  3. #
  4. # SPDX-License-Identifier: GPL-3.0-or-later
  5. src_prepare() {
  6. # Disable amhello, it is not reproducible
  7. rm doc/amhello-1.0.tar.gz
  8. sed -i "/^dist_doc_DATA =/d" doc/local.mk
  9. AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 AUTOCONF=autoconf-2.69 AUTOM4TE=autom4te-2.69 ./bootstrap
  10. rm doc/automake-history.info doc/automake.info*
  11. grep "DO NOT EDIT BY HAND" -r t -l | while read f; do
  12. rm "$f"
  13. done
  14. cp "${PREFIX}/bin/help2man" doc/
  15. perl ./gen-testsuite-part --srcdir . > t/testsuite-part.am
  16. touch Makefile.in # timestamps for make rules
  17. }
  18. src_configure() {
  19. AUTOCONF=autoconf-2.69 ./configure --prefix="${PREFIX}"
  20. }
  21. src_compile() {
  22. make "${MAKEJOBS}" MAKEINFO=true
  23. }
  24. src_install() {
  25. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  26. }