aboutsummaryrefslogtreecommitdiff
path: root/extra/bash/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bash/build')
-rwxr-xr-xextra/bash/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/bash/build b/extra/bash/build
new file mode 100755
index 00000000..f6362fa0
--- /dev/null
+++ b/extra/bash/build
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+for patch in bash50-0??; do
+ patch -p0 < "$patch"
+done
+
+./configure \
+ --prefix=/usr \
+ --without-bash-malloc \
+ --without-installed-readline \
+ --disable-nls
+
+export MAKEFLAGS="TERMCAP_LIB=/usr/lib/libncursesw.a $MAKEFLAGS"
+
+make
+make DESTDIR="$1" install