kiss-mfavila-small/ports/official/core/bash/build

22 lines
350 B
Plaintext
Raw Normal View History

#!/bin/sh -e
export CFLAGS="$CFLAGS -static"
patch -p1 < bash-5.1-parallel_make.patch
for patch in bash51-0??; do
patch -p0 < "$patch"
done
./configure \
--prefix=/usr \
--without-bash-malloc \
--without-installed-readline \
2022-02-17 08:33:27 -05:00
--disable-nls \
--enable-static-link
make
make DESTDIR="$1" install
ln -s bash "$1/usr/bin/sh"