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

39 lines, 28 significant
1# Wedge definition for dash
2#
3# Loaded by deps/wedge.sh.
4
5set -o nounset
6set -o pipefail
7set -o errexit
8
9# sourced
10WEDGE_NAME='dash'
11WEDGE_VERSION='0.5.10.2'
12#WEDGE_IS_ABSOLUTE=1 # TODO: try relaxing
13
14wedge-make() {
15 local src_dir=$1
16 local build_dir=$2
17 local install_dir=$3
18
19 time $src_dir/configure --prefix=$install_dir
20
21 time make
22 # make test?
23}
24
25wedge-install() {
26 local build_dir=$1
27
28 pushd $build_dir
29
30 time make install-strip
31
32 popd
33}
34
35wedge-smoke-test() {
36 local install_dir=$1
37
38 $install_dir/bin/dash -c 'echo "hi from dash"'
39}