blob: a5ee5e6c919b5d1aaf6bba4e4dc0c0236eaa8329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# set -o errexit -o noglob are 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
|