pcre2: bump to 10.40
[kiss-trunc88.git] / yash / build
blob1d01c5952d0da48e81ad25d50ba2e9cb3b902af2
1 #!/bin/sh -e
3 # LANG variable can often lead to failures in compiling lineedit commands. So we
4 # disable it.
5 unset LANG
7 ./configure \
8 --prefix=/usr \
9 --disable-array \
10 --disable-dirstack \
11 --disable-double-bracket \
12 --enable-help \
13 --enable-history \
14 --enable-lineedit \
15 --disable-nls \
16 --disable-printf \
17 --enable-socket \
18 --enable-test \
19 --enable-ulimit
21 make
22 make DESTDIR="$1" install
24 rm -rf "$1/usr/share/man/ja"
25 cp "$1/usr/bin/yash" "$1/usr/bin/sh"