summaryrefslogtreecommitdiffhomepage
path: root/vars/nasm_host.vars
blob: 922eedd08ed21778e8471cb47c64abc09449ce9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# set +o errexit -o noglob -o nounset 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