logo

live-bootstrap

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

pass1.sh (966B)


  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 doc/amhello-1.0.tar.gz
  8. # Building doc often causes race conditions, skip it
  9. sed -i '/doc\/Makefile.inc/d' Makefile.am
  10. sed -i '/t\/Makefile.inc/d' Makefile.am
  11. AUTOCONF="autoconf-2.69 -f" AUTOM4TE=autom4te-2.69 ./bootstrap
  12. rm doc/automake-history.info doc/automake.info*
  13. }
  14. src_configure() {
  15. AUTORECONF=autoreconf-2.69 AUTOM4TE=autom4te-2.69 AUTOHEADER=autoheader-2.69 AUTOCONF="autoconf-2.69 -f" ./configure --prefix="${PREFIX}"
  16. }
  17. src_compile() {
  18. AUTORECONF=autoreconf-2.69 AUTOM4TE=autom4te-2.69 AUTOHEADER=autoheader-2.69 AUTOCONF="autoconf-2.69 -f" make -j1 MAKEINFO=true
  19. }
  20. src_install() {
  21. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  22. rm "${DESTDIR}/usr/bin/automake" "${DESTDIR}/usr/bin/aclocal"
  23. }