logo

live-bootstrap

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

pass1.sh (995B)


  1. # SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
  2. # SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  3. #
  4. # SPDX-License-Identifier: GPL-3.0-or-later
  5. src_prepare() {
  6. default
  7. rm -f doc/amhello-1.0.tar.gz doc/automake.info* doc/aclocal-1.11.1 doc/automake-1.11.1
  8. rm tests/parallel-tests.am
  9. # Building doc often causes race conditions, skip it
  10. awk '/SUBDIRS/{sub("doc ", "", $0)} {print}' Makefile.am > Makefile.am.tmp
  11. mv Makefile.am.tmp Makefile.am
  12. AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 ./bootstrap
  13. }
  14. src_configure() {
  15. AUTORECONF=autoreconf-2.64 AUTOM4TE=autom4te-2.64 AUTOHEADER=autoheader-2.64 AUTOCONF=autoconf-2.64 ./configure --prefix="${PREFIX}"
  16. }
  17. src_compile() {
  18. AUTORECONF=autoreconf-2.64 AUTOM4TE=autom4te-2.64 AUTOHEADER=autoheader-2.64 AUTOCONF=autoconf-2.64 make "${MAKEJOBS}" MAKEINFO=true
  19. }
  20. src_install() {
  21. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  22. rm "${DESTDIR}/usr/bin/automake"
  23. }