summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/dist_minipix_dist.vars10
1 files changed, 9 insertions, 1 deletions
diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars
index 8584c69c..8cb8d555 100644
--- a/vars/dist_minipix_dist.vars
+++ b/vars/dist_minipix_dist.vars
@@ -3,7 +3,8 @@
#
pkg_dist_minipix_dist_all() {
- local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name;
+ local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name _term \
+ _term_letter;
ex_rtl_fileop rm "${_dist_pfx}";
ex_rtl_fileop mkdir "${_dist_pfx}";
ex_rtl_fileop mkdir "${_dist_pfx}/bin";
@@ -15,6 +16,13 @@ pkg_dist_minipix_dist_all() {
ex_rtl_fileop cp_follow \
"${PREFIX_NATIVE}/lib/${_lib_name}" "${_dist_pfx}/bin";
done;
+ for _term in putty putty-256color screen screen-256color xterm xterm-256color; do
+ _term_letter="${_term%${_term#[a-zA-Z]}}";
+ ex_rtl_fileop mkdir "${_dist_pfx}/share/terminfo/${_term_letter}";
+ ex_rtl_fileop cp_follow \
+ "${PREFIX_NATIVE}/share/terminfo/${_term_letter}/${_term}" \
+ "${_dist_pfx}/share/terminfo/${_term_letter}";
+ done;
tar -C "${PREFIX_NATIVE}/share" -cpf - terminfo |\
tar -C "${_dist_pfx}/bin" -xpf -;
};