mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
23 lines
512 B
Bash
23 lines
512 B
Bash
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
SEED_PREFIX="/bootstrap-seeds/bash-4.4.23-1"
|
|
|
|
src_configure() {
|
|
./configure \
|
|
--prefix="${SEED_PREFIX}" \
|
|
--without-bash-malloc \
|
|
--disable-nls \
|
|
--enable-static-link \
|
|
--build="${TARGET}" \
|
|
bash_cv_dev_stdin=absent \
|
|
bash_cv_dev_fd=whacky
|
|
}
|
|
|
|
src_compile() {
|
|
make -j1
|
|
}
|
|
|
|
src_install() {
|
|
install -D -m 0755 bash "${DESTDIR}${SEED_PREFIX}/bin/bash"
|
|
ln -sf bash "${DESTDIR}${SEED_PREFIX}/bin/sh"
|
|
}
|