blob: ca85f4d1c66f18d2e7b261a9d751f52d16904401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#
# set -o errexit -o noglob are assumed.
#
pkg_install() {
local _dst_path;
for _dst_path in "${PKG_PREFIX}" "${PKG_PREFIX_EXTRA}"; do
if [ -n "${_dst_path}" ]; then
ex_build_fileop mkdir "${_dst_path}";
tar -C "${PKG_DESTDIR}" -cpf - . |\
tar -C "${_dst_path}" -xpf -;
fi;
done;
};
# vim:filetype=sh
|