logo

live-bootstrap

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

pass1.sh (697B)


  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. rm doc/standards.info man/*.1
  7. AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 autoreconf-2.64 -f
  8. # Install autoconf data files into versioned directory
  9. for file in */*/Makefile.in */Makefile.in Makefile.in; do
  10. sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
  11. done
  12. }
  13. src_configure() {
  14. ./configure --prefix="${PREFIX}" --program-suffix=-2.69
  15. }
  16. src_compile() {
  17. make "${MAKEJOBS}" MAKEINFO=true
  18. }
  19. src_install() {
  20. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  21. }