#
# set -o errexit -o noglob are assumed.
#

pkg_busybox_configure() {
	ex_rtl_fileop cp ${MIDIPIX_BUILD_PWD}/vars/busybox/busyboxconfig ${PKG_BUILD_DIR}/.config;
};

pkg_busybox_install_make_post() {
	set +o noglob
        ex_rtl_fileop cp ${PKG_BUILD_DIR}/_install/bin/* ${PKG_DESTDIR}/bin/;
	set -o noglob
	ex_rtl_fileop cp ${PKG_BUILD_DIR}/_install/lib/libbusybox.so.${PKG_VERSION} ${PKG_DESTDIR}/lib/;
};

# vim:filetype=sh