Blame vars/psxstub_host.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_psxstub_install_make() {
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	if [ "${PKG_TARGET}" = i686-nt32-midipix ]	\
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	|| [ "${PKG_TARGET}" = x86_64-nt64-midipix ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
		ex_rtl_fileop cd "${PKG_BASE_DIR}/psxstub";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
		make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install;
Lucio Andrés Illanes Albornoz (arab, vxp) 05e618
		if [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
			ex_rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a";
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
};
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
# vim:filetype=sh