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