aboutsummaryrefslogtreecommitdiff
path: root/extra/bash/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
commit938cb1f54f0174a5994345e4dc49888c614db430 (patch)
treed7ba58e9fec35fb2e14412fcd884cde49cbf4537 /extra/bash/build
parent3c7785b8f052b623e2d478b0161820eaeef764c3 (diff)
downloadrepository-938cb1f54f0174a5994345e4dc49888c614db430.tar.gz
move shells to extra
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