|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
pkg_dist_minipix_all() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
local _dist_pfx="${PREFIX}/minipix_dist" _bin_pname _lib_name;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
ex_rtl_fileop rm "${_dist_pfx}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
ex_rtl_fileop mkdir "${_dist_pfx}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
for _bin_pname in $(find "${PREFIX_MINIPIX}/bin" -not -name "lib*"); do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
ex_rtl_fileop cp_follow "${_bin_pname}" "${_dist_pfx}/bin";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
for _lib_name in libc.so libncursesw.so.6 libpsxscl.so libu16ports.so.0; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
ex_rtl_fileop cp_follow \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
"${PREFIX_NATIVE}/lib/${_lib_name}" "${_dist_pfx}/bin";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
tar -C "${PREFIX_NATIVE}/share" -cpf - terminfo |\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
tar -C "${_dist_pfx}/bin" -xpf -;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b7b9af |
# vim:filetype=sh
|