Blob Blame History Raw
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_busybox_configure() {
	rtl_fileop cp "${MIDIPIX_BUILD_PWD}/etc/busyboxconfig" "${PKG_BUILD_DIR}/.config";
};

pkg_busybox_install_make_post() {
	set +o noglob;
        if ! rtl_fileop cp "${PKG_BUILD_DIR}/_install/bin/"* "${PKG_DESTDIR}/bin/"\
	|| ! rtl_fileop cp "${PKG_BUILD_DIR}/_install/lib/libbusybox.so.${PKG_VERSION}" "${PKG_DESTDIR}/lib/"; then
		set -o noglob; return 1;
	fi;
	set -o noglob;
};

# vim:filetype=sh textwidth=0