Add make 4.2.1

This commit is contained in:
fosslinux 2021-04-28 16:15:58 +10:00
parent e773e65f1c
commit 170718c823
6 changed files with 71 additions and 0 deletions

30
sysa/make-4.2.1/make-4.2.1.sh Executable file
View file

@ -0,0 +1,30 @@
# 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}" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu \
--disable-nls
}
src_compile() {
make MAKEINFO="true"
}
src_install() {
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
}