live-bootstrap/steps/make-3.82/pass2.sh
2025-10-17 18:53:10 +11:00

29 lines
625 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021-22 Samuel Tyler <samuel@samuelt.me>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
rm doc/make.info*
touch doc/make.info
rm po/*.gmo
# We don't have autopoint from gettext yet
AUTOPOINT=true AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build="${TARGET/-musl/-gnu}" \
--disable-nls
}
src_compile() {
make "${MAKEJOBS}" MAKEINFO="true"
}
src_install() {
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
}