| 1 | # Wedge definition for yash
 | 
| 2 | #
 | 
| 3 | # Loaded by deps/wedge.sh.
 | 
| 4 | 
 | 
| 5 | set -o nounset
 | 
| 6 | set -o pipefail
 | 
| 7 | set -o errexit
 | 
| 8 | 
 | 
| 9 | # sourced
 | 
| 10 | WEDGE_NAME='yash'
 | 
| 11 | WEDGE_VERSION='2.49'
 | 
| 12 | 
 | 
| 13 | wedge-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 | 
 | 
| 25 | wedge-install-from-source-dir() {
 | 
| 26 |   #local src_dir=$1
 | 
| 27 | 
 | 
| 28 |   time make install
 | 
| 29 | }
 | 
| 30 | 
 | 
| 31 | wedge-smoke-test() {
 | 
| 32 |   local install_dir=$1
 | 
| 33 | 
 | 
| 34 |   $install_dir/bin/yash -c 'echo "hi from yash"'
 | 
| 35 | }
 |