midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/dist_minipix_libs.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
#
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
#
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
pkg_dist_minipix_libs_all() {
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
	local _libname;
Lucio Andrés Illanes Albornoz (arab, vxp) 5d1368
	for _libname in libc.so libncursesw.so.6 libpsxscl.so libu16ports.so.0; do
Lucio Andrés Illanes Albornoz (arab, vxp) e22982
		ex_rtl_fileop cp						\
Lucio Andrés Illanes Albornoz (arab, vxp) 5d1368
			"${PREFIX_NATIVE}/lib/${_libname}" "${PREFIX_MINIPIX}/lib";
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
	done;
Lucio Andrés Illanes Albornoz (arab, vxp) e22982
	tar -C "${BUILD_WORKDIR}" -cpf - "mintty-native-${PKG_TARGET}"	|\
Lucio Andrés Illanes Albornoz (arab, vxp) e22982
		tar -C "${PREFIX_MINIPIX}" -xpf -;
Lucio Andrés Illanes Albornoz (arab, vxp) e22982
	tar -C "${PREFIX_NATIVE}" -cpf - share/terminfo			|\
Lucio Andrés Illanes Albornoz (arab, vxp) 5d1368
		tar -C "${PREFIX_MINIPIX}" -xpf -;
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
};
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
Lucio Andrés Illanes Albornoz (arab, vxp) 4cffb9
# vim:filetype=sh