logo

live-bootstrap

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

pass1.sh (778B)


  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/*.info
  6. rm man/*.1
  7. rm tests/*.at
  8. autoreconf-2.69 -fi
  9. # Install autoconf data files into versioned directory
  10. sed -i '/^pkgdatadir/s:$:-@VERSION@:' Makefile.in
  11. }
  12. src_configure() {
  13. ./configure --prefix="${PREFIX}" --program-suffix=-2.71
  14. }
  15. src_compile() {
  16. make "${MAKEJOBS}" MAKEINFO=true
  17. }
  18. src_install() {
  19. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  20. ln -s autoconf-2.71 "${DESTDIR}${PREFIX}/bin/autoconf"
  21. ln -s autoheader-2.71 "${DESTDIR}${PREFIX}/bin/autoheader"
  22. ln -s autom4te-2.71 "${DESTDIR}${PREFIX}/bin/autom4te"
  23. ln -s autoreconf-2.71 "${DESTDIR}${PREFIX}/bin/autoreconf"
  24. }