live-bootstrap/sysa/bash-3.2.57/bash-3.2.57.sh
Paul Dersey c0fedeba61 bash-3.2.57: Build new package to replace bash 2.05b
Resulting build now works interactively
2021-03-05 09:11:59 -05:00

24 lines
524 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Remove bison generated files
rm y.tab.c y.tab.h
# Rebuild configure script
# Ignore harmless error from autoconf for now
rm configure
autoconf-2.52 || true
}
src_configure() {
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
./configure --prefix=/after \
--without-bash-malloc \
--build=i386-unknown-linux
}
src_install() {
install bash ${bindir}
}