logo

live-bootstrap

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

pass1.sh (666B)


  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. # Remove bison and flex generated files
  7. rm demos/calc/calc.{c,h} demos/calc/calclex.c
  8. AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
  9. # Pre-built texinfo files
  10. find . -name '*.info*' -delete
  11. }
  12. src_configure() {
  13. ./configure \
  14. --prefix="${PREFIX}" \
  15. --libdir="${LIBDIR}" \
  16. --build=i386-unknown-linux-musl \
  17. --disable-shared
  18. }
  19. src_compile() {
  20. make "${MAKEJOBS}" MAKEINFO=true DESTDIR="${DESTDIR}"
  21. }
  22. src_install() {
  23. make MAKEINFO=true DESTDIR="${DESTDIR}" install
  24. }