Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/install_strip_host.vars

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 c6d6e0
		rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip";
Lucio Andrés Illanes Albornoz 378fac
	fi;
Lucio Andrés Illanes Albornoz c6d6e0
	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