aboutsummaryrefslogtreecommitdiff
path: root/extra/readline/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-08-25 04:25:33 +0300
committerCem Keylan <cem@ckyln.com>2020-08-25 04:25:33 +0300
commit6bc112a94569af234da2328d601d2588bec2744e (patch)
treee4d312df9fa4514ded3230058cebd455288eb92b /extra/readline/build
parentdddecc8c2c0996ebef580b00bcef411d422aacb8 (diff)
downloadrepository-6bc112a94569af234da2328d601d2588bec2744e.tar.gz
readline: add new package at 8.0p004
Diffstat (limited to 'extra/readline/build')
-rwxr-xr-xextra/readline/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/readline/build b/extra/readline/build
new file mode 100755
index 00000000..07ec8028
--- /dev/null
+++ b/extra/readline/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -fPIC"
+
+for patch in readline80-00*; do
+ patch -p0 < "$patch"
+done
+
+./configure \
+ --prefix=/usr
+
+make SHLIB_LIBS=-lncurses
+make DESTDIR="$1" install