Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/nasm_host.vars

Lucio Andrés Illanes Albornoz 160840
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz 160840
#
Lucio Andrés Illanes Albornoz 160840
Lucio Andrés Illanes Albornoz 160840
pkg_nasm_host_install_make_post() {
Lucio Andrés Illanes Albornoz 160840
	local _fname="";
Lucio Andrés Illanes Albornoz 160840
	for _fname in bin/nasm bin/ndisasm share/man/man1/nasm.1 share/man/man1/ndisasm.1; do
Lucio Andrés Illanes Albornoz bf9edf
		if ! rtl_fileop mv "${PKG_DESTDIR}/${_fname}" "${PKG_DESTDIR}/${_fname%/*}/${PKG_TARGET}-${_fname##*/}"; then
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz bf9edf
		fi;
Lucio Andrés Illanes Albornoz 160840
	done;
Lucio Andrés Illanes Albornoz 160840
};
Lucio Andrés Illanes Albornoz 160840
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0