18 lines
341 B
Bash
18 lines
341 B
Bash
|
|
fetch $BASH_URL
|
|
|
|
cd "$SOURCES" && tar xf bash-$BASH_VERSION.tar.gz && cd bash-$BASH_VERSION
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--build=$(sh support/config.guess) \
|
|
--host=$TARGET \
|
|
--without-bash-malloc \
|
|
--silent \
|
|
--quiet
|
|
|
|
make && make DESTDIR="$SYSROOT" install
|
|
|
|
ln -s bash "$SYSROOT"/bin/sh
|
|
|
|
cd "$SOURCES" && rm -rf bash-$BASH_VERSION |