Conan_Kudo / build / midipix_build

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

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

# vim:filetype=sh