logo

live-bootstrap

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

pass1.sh (961B)


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