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}
}

1
sysa/bash-5.1/checksums Normal file
View file

@ -0,0 +1 @@
abb6aca766109a7dc2aa00ed976540ce631ad45daa11d5091a38c15dd62f1257 /after/bin/bash