OILS / deps / source.medo / yash / WEDGE View on Github | oilshell.org

35 lines, 26 significant
1# Wedge definition for yash
2#
3# Loaded by deps/wedge.sh.
4
5set -o nounset
6set -o pipefail
7set -o errexit
8
9# sourced
10WEDGE_NAME='yash'
11WEDGE_VERSION='2.49'
12
13wedge-make-from-source-dir() {
14 local src_dir=$1
15 local install_dir=$2
16
17 # 9/2021: from VirtualBox VM
18 # The terminfo (curses) library is unavailable!
19 # Add the "--disable-lineedit" option and try again.
20 time $src_dir/configure --disable-lineedit --prefix=$install_dir
21
22 time make
23}
24
25wedge-install-from-source-dir() {
26 #local src_dir=$1
27
28 time make install
29}
30
31wedge-smoke-test() {
32 local install_dir=$1
33
34 $install_dir/bin/yash -c 'echo "hi from yash"'
35}