mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 13:55:24 +01:00
Build bash 5.1 only after GCC.
This commit is contained in:
parent
0572ff41ef
commit
634cae7b68
10 changed files with 32 additions and 61 deletions
27
sysa/bash-5.1/bash-5.1.sh
Executable file
27
sysa/bash-5.1/bash-5.1.sh
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# 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
|
||||
|
||||
sed -i 's/sleep 3/sleep 3; sync/' builtins/psize.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--without-bash-malloc \
|
||||
--disable-nls \
|
||||
--build=i386-unknown-linux-gnu \
|
||||
--enable-static-link
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install bash "${PREFIX}/bin"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue