summaryrefslogtreecommitdiffhomepage
path: root/vars/psxstub.vars
blob: 35399663fc22e8ee6ea075e70b33014678fb025b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# set -o errexit -o noglob are assumed.
#

pkg_psxstub_install() {
	if [ "${TARGET}" = i686-nt32-midipix ]	\
	|| [ "${TARGET}" = x86_64-nt64-midipix ]; then
		build_fileop cd "${WORKDIR}/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