From 5d1368e5abfd3f2f3344be03e4c29103e54ab1e4 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: Mon, 4 Dec 2017 12:46:41 +0000 Subject: vars/dist_minipix_libs.vars: remove ${PREFIX_MINIPIX}/{lib,libexec,share}. vars/dist_minipix_links.vars: install libs w/ major number appended, if applicable. vars/dist_minipix_links.vars: install ${PREFIX_NATIVE}/share/terminfo into ${PREFIX_MINIPIX}. --- vars/dist_minipix_libs.vars | 6 ++++-- vars/dist_minipix_links.vars | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'vars') diff --git a/vars/dist_minipix_libs.vars b/vars/dist_minipix_libs.vars index 37ac6454..b2a36876 100644 --- a/vars/dist_minipix_libs.vars +++ b/vars/dist_minipix_libs.vars @@ -4,10 +4,12 @@ pkg_dist_minipix_libs_all() { local _libname; - for _libname in libc libncursesw libpsxscl libu16ports; do + for _libname in libc.so libncursesw.so.6 libpsxscl.so libu16ports.so.0; do ex_rtl_fileop cp \ - "${PREFIX_NATIVE}/lib/${_libname}.so" "${PREFIX_MINIPIX}/lib"; + "${PREFIX_NATIVE}/lib/${_libname}" "${PREFIX_MINIPIX}/lib"; done; + tar -C "${PREFIX_NATIVE}" -cpf - share/terminfo |\ + tar -C "${PREFIX_MINIPIX}" -xpf -; }; # vim:filetype=sh diff --git a/vars/dist_minipix_links.vars b/vars/dist_minipix_links.vars index c432c2de..eeb05ef6 100644 --- a/vars/dist_minipix_links.vars +++ b/vars/dist_minipix_links.vars @@ -4,6 +4,8 @@ pkg_dist_minipix_links_all() { local _pname _pname_tgt; + ex_rtl_fileop rm "${PREFIX_MINIPIX}/lib" \ + "${PREFIX_MINIPIX}/libexec" "${PREFIX_MINIPIX}/share"; for _pname in $(find "${PREFIX_MINIPIX}" -type l); do _pname_tgt="$(readlink -e "${_pname}")"; if ex_rtl_fileop_test "${_pname_tgt}"; then -- cgit v1.2.3