summaryrefslogtreecommitdiffhomepage
path: root/vars/nasm_host.vars
blob: 9d697a27022a1e1633e63d02924da883cc240f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# set +o errexit -o noglob is assumed.
#

pkg_nasm_host_install_make_post() {
	local _fname="";
	for _fname in bin/nasm bin/ndisasm share/man/man1/nasm.1 share/man/man1/ndisasm.1; do
		if ! rtl_fileop mv "${PKG_DESTDIR}/${_fname}" "${PKG_DESTDIR}/${_fname%/*}/${PKG_TARGET}-${_fname##*/}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0