Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/pkg_install_make.subr

Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
#
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_install_make() {
Lucio Andrés Illanes Albornoz e1d469
	local _libtool="";
Lucio Andrés Illanes Albornoz e1d469
	case "${PKG_LIBTOOL:-}" in
Lucio Andrés Illanes Albornoz e1d469
	"")	_libtool=""; ;;
Lucio Andrés Illanes Albornoz e1d469
	none)	_libtool=""; ;;
Lucio Andrés Illanes Albornoz e1d469
	*)	_libtool="${PKG_LIBTOOL}"; ;;
Lucio Andrés Illanes Albornoz e1d469
	esac;
Lucio Andrés Illanes Albornoz e1d469
	rtl_run_cmd_unsplit make					\
Lucio Andrés Illanes Albornoz e1d469
		${PKG_MAKEFLAGS_INSTALL:-}				\
Lucio Andrés Illanes Albornoz e1d469
		${PKG_MAKEFLAGS_INSTALL_EXTRA:-}			\
Lucio Andrés Illanes Albornoz e1d469
		AR="${PKG_AR}" CC="${PKG_CC}" RANLIB="${PKG_RANLIB}"	\
Lucio Andrés Illanes Albornoz e1d469
		"${PKG_RANLIB_INSTALL:+RANLIB=${PKG_RANLIB_INSTALL}}"	\
Lucio Andrés Illanes Albornoz e1d469
		${_libtool:+"LIBTOOL=${_libtool}"}			\
Lucio Andrés Illanes Albornoz e1d469
		"${PKG_MAKE_INSTALL_VNAME:-DESTDIR}=${PKG_DESTDIR}/"	\
Lucio Andrés Illanes Albornoz e1d469
		${PKG_INSTALL_TARGET:-install};
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
};
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
# vim:filetype=sh