logo

live-bootstrap

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

pass1.sh (677B)


  1. # SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. rm doc/standards.info man/*.1
  6. AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 autoreconf-2.61 -f
  7. # Install autoconf data files into versioned directory
  8. for file in */*/Makefile.in */Makefile.in Makefile.in; do
  9. sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
  10. done
  11. }
  12. src_configure() {
  13. ./configure --prefix="${PREFIX}" --program-suffix=-2.64
  14. }
  15. src_compile() {
  16. make "${MAKEJOBS}" MAKEINFO=true
  17. }
  18. src_install() {
  19. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  20. }