live-bootstrap/sysc/make-4.2.1/make-4.2.1.sh

29 lines
527 B
Bash
Executable File

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
rm doc/make.info
touch doc/make.info
# We don't have autopoint from gettext yet
AUTOPOINT=true autoreconf -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-musl \
--disable-nls
}
src_compile() {
make MAKEINFO="true"
}
src_install() {
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
}