From bbd35a31fc4945b6e3d5689e68c6a232ae029cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 22 Dec 2017 10:34:31 +0000 Subject: vars/dist_minipix_dist.vars: copy libz.so.1. vars/dist_minipix_dist.vars: restore ${PREFIX_MINIPIX}/{bin,share}/ subdirs. --- vars/dist_minipix_dist.vars | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vars') diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars index b71d239d..1a18b88f 100644 --- a/vars/dist_minipix_dist.vars +++ b/vars/dist_minipix_dist.vars @@ -6,21 +6,21 @@ pkg_dist_minipix_dist_all() { local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name _term \ _term_letter; ex_rtl_fileop rm "${_dist_pfx}"; - ex_rtl_fileop mkdir "${_dist_pfx}"; - for _bin_pname in $(find "${PREFIX}/minipix_dist/bin" \ + ex_rtl_fileop mkdir "${_dist_pfx}" "${_dist_pfx}/bin" "${_dist_pfx}/share"; + for _bin_pname in $(find "${PREFIX}/minipix_dist/bin" \ -maxdepth 1 -perm /a=x -type f -and \( -not -name "lib*" \)); do - ex_rtl_fileop cp_follow "${_bin_pname}" "${_dist_pfx}"; + ex_rtl_fileop cp_follow "${_bin_pname}" "${_dist_pfx}/bin"; done; - for _lib_name in libc.so libmagic.so.1 libncursesw.so.6 libpsxscl.so libu16ports.so.0; do - ex_rtl_fileop cp_follow \ - "${PREFIX_NATIVE}/lib/${_lib_name}" "${_dist_pfx}"; + for _lib_name in libc.so libmagic.so.1 libncursesw.so.6 libpsxscl.so libu16ports.so.0 libz.so.1; do + 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}/terminfo/${_term_letter}"; + ex_rtl_fileop mkdir "${_dist_pfx}/share/terminfo/${_term_letter}"; ex_rtl_fileop cp_follow \ "${PREFIX_NATIVE}/share/terminfo/${_term_letter}/${_term}" \ - "${_dist_pfx}/terminfo/${_term_letter}"; + "${_dist_pfx}/share/terminfo/${_term_letter}"; done; }; -- cgit v1.2.3