Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set +o errexit -o noglob is assumed.
#

pkg_install_strip_host_all() {
	if [ -e "${PREFIX}/bin/${PKG_TARGET}-install-strip" ]; then
		ex_rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip";
	fi;
	ex_rtl_fileop mkdir "${PREFIX}/bin";
	cat > "${PREFIX}/bin/${PKG_TARGET}-install-strip" <<EOF
#!/bin/sh
install -s "\${@}";
EOF
	chmod +x "${PREFIX}/bin/${PKG_TARGET}-install-strip";
};

# vim:filetype=sh