logo

live-bootstrap

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

pass1.sh (844B)


  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. EXTRA_DISTFILES="gnulib-8e128e.tar.gz"
  6. src_prepare() {
  7. . ../../import-gnulib.sh
  8. default
  9. AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 autoreconf-2.61 -f
  10. # Pre-built texinfo files
  11. rm doc/find.info
  12. }
  13. src_configure() {
  14. # Musl is not recognized, pretend to be uClibc
  15. # Must use --host for config.charset reproducibility
  16. CC=tcc ./configure --prefix="${PREFIX}" \
  17. --host=i386-unknown-linux-gnu \
  18. CPPFLAGS="-D__UCLIBC__"
  19. }
  20. src_compile() {
  21. make "${MAKEJOBS}" MAKEINFO=true DESTDIR="${DESTDIR}"
  22. }
  23. src_install() {
  24. make MAKEINFO=true DESTDIR="${DESTDIR}" install
  25. }