1 | # Wedge definition for mksh
|
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='mksh'
|
11 | WEDGE_VERSION='R52c'
|
12 |
|
13 | wedge-make() {
|
14 | local src_dir=$1
|
15 | local build_dir=$2
|
16 | local install_dir=$3
|
17 |
|
18 | sh $src_dir/Build.sh
|
19 | }
|
20 |
|
21 | wedge-install() {
|
22 | local build_dir=$1
|
23 | local install_dir=$2
|
24 |
|
25 | # There's no 'make install'
|
26 | cp -v $build_dir/mksh $install_dir
|
27 | }
|
28 |
|
29 | wedge-smoke-test() {
|
30 | local install_dir=$1
|
31 |
|
32 | $install_dir/mksh -c 'echo "hi from mksh"'
|
33 | }
|