logo

live-bootstrap

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

pass1.sh (840B)


  1. # SPDX-FileCopyrightText: 2021-2022 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. rm bin/autoconf.in
  6. rm doc/standards.info
  7. # Do not use pregenerated manpages
  8. sed -i '/SUBDIRS/s/ man//' Makefile.am
  9. AUTOMAKE=automake-1.7 ACLOCAL=aclocal-1.7 AUTOCONF=autoconf-2.55 autoreconf-2.55 -f
  10. # Install autoconf data files into versioned directory
  11. for file in */*/Makefile.in */Makefile.in Makefile.in; do
  12. sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
  13. done
  14. }
  15. src_configure() {
  16. ./configure --prefix="${PREFIX}" --program-suffix=-2.57
  17. }
  18. src_compile() {
  19. # Workaround for racy make dependencies
  20. make -C bin autom4te
  21. make -C lib
  22. make "${MAKEJOBS}" MAKEINFO=true
  23. }
  24. src_install() {
  25. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  26. }