diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 12:46:41 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 12:46:41 +0000 |
commit | 5d1368e5abfd3f2f3344be03e4c29103e54ab1e4 (patch) | |
tree | 8ad2ce25ffe755dda2a05fb7b77bb1aabc0daa67 | |
parent | 3a48d3534bb5022f6a807c02f74783f10b8c3b16 (diff) | |
download | midipix_build-5d1368e5abfd3f2f3344be03e4c29103e54ab1e4.tar.bz2 midipix_build-5d1368e5abfd3f2f3344be03e4c29103e54ab1e4.tar.xz |
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}.
-rw-r--r-- | vars/dist_minipix_libs.vars | 6 | ||||
-rw-r--r-- | vars/dist_minipix_links.vars | 2 |
2 files changed, 6 insertions, 2 deletions
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 |