Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/psxstub.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 820be1
# . ./build.vars and set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
pkg_psxstub_all() {
Lucio Andrés Illanes Albornoz (arab, vxp) 570129
	pkg_fetch;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
	if ! is_build_script_done install; then
Lucio Andrés Illanes Albornoz (arab, vxp) 951620
		if [ "${TARGET}" = i686-nt32-midipix ]	\
Lucio Andrés Illanes Albornoz (arab, vxp) 9ba5d3
		|| [ "${TARGET}" = x86_64-nt64-midipix ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
			build_fileop cd psxstub;
Lucio Andrés Illanes Albornoz (arab, vxp) 820be1
			make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install;
Lucio Andrés Illanes Albornoz (arab, vxp) 820be1
			if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
				build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a;
Lucio Andrés Illanes Albornoz (arab, vxp) 9e8693
			fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
			set_build_script_done install finish;
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