mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 04:45:23 +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
|
|
@ -10,11 +10,12 @@ src_prepare() {
|
|||
# Rebuild configure script
|
||||
rm configure
|
||||
autoconf-2.61
|
||||
|
||||
sed -i 's/sleep 3/sleep 3; sync/' builtins/psize.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
|
||||
./configure --prefix="${PREFIX}" \
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--without-bash-malloc \
|
||||
--disable-nls \
|
||||
--build=i386-unknown-linux-gnu \
|
||||
|
|
@ -22,5 +23,5 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
install bash ${bindir}
|
||||
install bash "${PREFIX}/bin"
|
||||
}
|
||||
1
sysa/bash-5.1/checksums
Normal file
1
sysa/bash-5.1/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
bf782a82ac8ce393d2a028cec337a4f9428f8ab93d2ae11b026dcc8a027b80a7 /after/bin/bash
|
||||
|
|
@ -1 +0,0 @@
|
|||
63487b421c2e2386c526623e4b18605c0f83a419f19e75dec1bb5af109903755 /after/bin/bash
|
||||
|
|
@ -1 +0,0 @@
|
|||
62dd23127c9ccef9706f5a89baab25e4c5f74cb96ed9373843bc97252fbd4f4e /after/bin/bash
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
# 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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--without-bash-malloc \
|
||||
--disable-nls \
|
||||
--build=i386-unknown-linux-gnu \
|
||||
--enable-static-link
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install bash ${bindir}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue