Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_psxstub_install() {
	if [ "${TARGET}" = i686-nt32-midipix ]	\
	|| [ "${TARGET}" = x86_64-nt64-midipix ]; then
		build_fileop cd psxstub;
		make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install;
		if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then
			build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a;
		fi;
	fi;
};

# vim:filetype=sh