Bump bash to 5.1.

This commit is contained in:
Andrius Štikonas 2021-03-20 11:48:41 +00:00
parent 31410ab234
commit 7162bd8f2b
7 changed files with 15 additions and 14 deletions

25
sysa/bash-5.1/bash-5.1.sh Executable file
View file

@ -0,0 +1,25 @@
# 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
rm configure
autoconf-2.61
}
src_configure() {
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
./configure --prefix="${PREFIX}" \
--without-bash-malloc \
--disable-nls \
--build=i386-unknown-linux-gnu \
--enable-static-link
}
src_install() {
install bash ${bindir}
}