logo

live-bootstrap

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

pass1.sh (941B)


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