logo

live-bootstrap

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

pass1.sh (1003B)


  1. # SPDX-FileCopyrightText: 2021-2022 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. default
  6. rm -- Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
  7. rm doc/standards.info doc/autoconf.info
  8. # Do not use pregenerated manpages
  9. sed -i '/SUBDIRS/s/ man//' Makefile.am
  10. aclocal-1.6
  11. cat config/m4.m4 >> aclocal.m4
  12. autoconf-2.52
  13. automake-1.6
  14. # Not supported by autoconf-2.52
  15. sed -i "s#@abs_top_builddir@#$PWD#" tests/wrappl.in
  16. sed -i "s#@abs_top_srcdir@#$PWD#" tests/wrappl.in
  17. # Install autoconf data files into versioned directory
  18. for file in */*/Makefile.in */Makefile.in Makefile.in; do
  19. sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
  20. done
  21. }
  22. src_configure() {
  23. ./configure --prefix="${PREFIX}" --program-suffix=-2.53
  24. }
  25. src_compile() {
  26. make "${MAKEJOBS}" MAKEINFO=true DESTDIR="${DESTDIR}"
  27. }
  28. src_install() {
  29. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  30. }