1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/nvi/nvi.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 hook_add preconf 3 "cd build.unix"
13 configscript="../dist/configure"
16 var_append confopt ' ' '--disable-curses --program-transform-name=s,^,n,'
18 var_append makeinstopt ' ' '-j1'
20 if [ "$SDECFG_PKG_VIM_IS_VI_REPLACEMENT" != 1 ]; then
21 hook_add postmake 5 "ln -sf nvi $root$bindir/vi"
24 if ! atstage native; then
25 var_append makeinstopt ' ' "prefix=$root/$prefix"
26 var_append makeinstopt ' ' "bindir=$root$bindir"
27 var_append makeinstopt ' ' "datadir=$root$datadir"
28 var_append makeinstopt ' ' "mandir=$root$mandir"