Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_build_dir() {
	if [ -z "${PKG_BUILD_DIR}" ]; then
		if [ -e "${WORKDIR}/${PKG_SUBDIR}/configure" ]\
		|| [ -e "${WORKDIR}/${PKG_SUBDIR}/configure.ac" ]\
		|| [ -e "${WORKDIR}/${PKG_SUBDIR}/configure.in" ]; then
			set_build_dir "${PKG_SUBDIR}" "${PKG_BUILD_TYPE:-native}";
		else
			PKG_BUILD_DIR="${PKG_SUBDIR}";
		fi;
	fi;
};

# vim:filetype=sh