logo

live-bootstrap

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

pass1.sh (612B)


  1. # SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. rm -- configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
  6. sed -i -e 's/2.54/2.53/' -e '/AC_PROG_EGREP/d' -e '/AC_PROG_FGREP/d' configure.in
  7. aclocal-1.6
  8. autoconf-2.53
  9. automake-1.6
  10. }
  11. src_configure() {
  12. ./configure --prefix="${PREFIX}"
  13. }
  14. src_compile() {
  15. make "${MAKEJOBS}" MAKEINFO=true
  16. }
  17. src_install() {
  18. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  19. rm "${DESTDIR}/usr/bin/automake" "${DESTDIR}/usr/bin/aclocal"
  20. }