| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.3 2010/07/20 09:49:45 reavertm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.4 2010/09/12 21:29:51 reavertm Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: autotools-utils.eclass |
5 | # @ECLASS: autotools-utils.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Maciej Mrozowski <reavertm@gentoo.org> |
7 | # Maciej Mrozowski <reavertm@gentoo.org> |
| 8 | # @BLURB: common ebuild functions for autotools-based packages |
8 | # @BLURB: common ebuild functions for autotools-based packages |
| … | |
… | |
| 209 | econfargs+=(${myeconfargs[@]}) |
209 | econfargs+=(${myeconfargs[@]}) |
| 210 | |
210 | |
| 211 | _check_build_dir |
211 | _check_build_dir |
| 212 | mkdir -p "${AUTOTOOLS_BUILD_DIR}" || die "mkdir '${AUTOTOOLS_BUILD_DIR}' failed" |
212 | mkdir -p "${AUTOTOOLS_BUILD_DIR}" || die "mkdir '${AUTOTOOLS_BUILD_DIR}' failed" |
| 213 | pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null |
213 | pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null |
| 214 | base_src_configure "${econfargs[@]}" |
214 | base_src_configure "${econfargs[@]}" "$@" |
| 215 | popd > /dev/null |
215 | popd > /dev/null |
| 216 | } |
216 | } |
| 217 | |
217 | |
| 218 | # @FUNCTION: autotools-utils_src_compile |
218 | # @FUNCTION: autotools-utils_src_compile |
| 219 | # @DESCRIPTION: |
219 | # @DESCRIPTION: |