Lucio Andrés Illanes Albornoz 378fac
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz 378fac
#
Lucio Andrés Illanes Albornoz 378fac
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_install_strip_host_all() {
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	if [ -e "${PREFIX}/bin/${PKG_TARGET}-install-strip" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
		ex_rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip";
Lucio Andrés Illanes Albornoz 378fac
	fi;
Lucio Andrés Illanes Albornoz babea7
	ex_rtl_fileop mkdir "${PREFIX}/bin";
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	cat > "${PREFIX}/bin/${PKG_TARGET}-install-strip" <
Lucio Andrés Illanes Albornoz 378fac
#!/bin/sh
Lucio Andrés Illanes Albornoz 378fac
install -s "\${@}";
Lucio Andrés Illanes Albornoz 378fac
EOF
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
	chmod +x "${PREFIX}/bin/${PKG_TARGET}-install-strip";
Lucio Andrés Illanes Albornoz 378fac
};
Lucio Andrés Illanes Albornoz 378fac
Lucio Andrés Illanes Albornoz 378fac
# vim:filetype=sh