aboutsummaryrefslogtreecommitdiff
path: root/testing/bash/build
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bash/build')
-rwxr-xr-xtesting/bash/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/bash/build b/testing/bash/build
new file mode 100755
index 00000000..f6362fa0
--- /dev/null
+++ b/testing/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