summaryrefslogtreecommitdiffhomepage
path: root/vars/busybox.vars
blob: e526fc00e0b83ddf1dda69b4427b8e8e79bdf3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# 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