aboutsummaryrefslogtreecommitdiff
path: root/extra/ncurses/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ncurses/build')
-rwxr-xr-xextra/ncurses/build21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/ncurses/build b/extra/ncurses/build
new file mode 100755
index 00000000..6798aa43
--- /dev/null
+++ b/extra/ncurses/build
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-pc-files \
+ --disable-rpath-hack \
+ --with-pkg-config-libdir=/usr/lib/pkgconfig \
+ --with-shared \
+ --enable-widec \
+ --without-ada \
+ --without-tests \
+ --without-debug \
+ --without-cxx-binding
+
+make
+make DESTDIR="$1" install
+
+# These conflict with busybox's.
+rm -f "$1/usr/bin/clear"
+rm -f "$1/usr/bin/reset"