logo

live-bootstrap

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

pass1.sh (749B)


  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 man/*.1
  6. sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac
  7. AUTOMAKE=automake-1.8 ACLOCAL=aclocal-1.8 AUTOM4TE=autom4te-2.59 AUTOCONF=autoconf-2.59 autoreconf-2.59 -f
  8. # Install autoconf data files into versioned directory
  9. for file in */*/Makefile.in */Makefile.in Makefile.in; do
  10. sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
  11. done
  12. }
  13. src_configure() {
  14. ./configure --prefix="${PREFIX}" --program-suffix=-2.61
  15. }
  16. src_compile() {
  17. make -j1 MAKEINFO=true PREFIX="${PREFIX}"
  18. }
  19. src_install() {
  20. make install MAKEINFO=true DESTDIR="${DESTDIR}"
  21. }