logo

live-bootstrap

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

pass1.sh (821B)


  1. # SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. rm doc/standards.info
  6. autoreconf-2.69 -fi
  7. # Install autoconf data files into versioned directory
  8. sed -i '/^pkgdatadir/s:$:-@VERSION@:' Makefile.in
  9. }
  10. src_configure() {
  11. ./configure --prefix="${PREFIX}" --program-suffix=-2.71
  12. }
  13. src_compile() {
  14. make "${MAKEJOBS}" MAKEINFO=true
  15. }
  16. src_install() {
  17. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  18. ln -sf "${PREFIX}/bin/autoconf-2.71" "${DESTDIR}${PREFIX}/bin/autoconf"
  19. ln -sf "${PREFIX}/bin/autoheader-2.71" "${DESTDIR}${PREFIX}/bin/autoheader"
  20. ln -sf "${PREFIX}/bin/autom4te-2.71" "${DESTDIR}${PREFIX}/bin/autom4te"
  21. ln -sf "${PREFIX}/bin/autoreconf-2.71" "${DESTDIR}${PREFIX}/bin/autoreconf"
  22. }