| 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.8 2011/01/31 14:09:01 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.9 2011/02/01 00:08:19 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 |
| … | |
… | |
| 238 | autotools-utils_src_install() { |
238 | autotools-utils_src_install() { |
| 239 | debug-print-function ${FUNCNAME} "$@" |
239 | debug-print-function ${FUNCNAME} "$@" |
| 240 | |
240 | |
| 241 | _check_build_dir |
241 | _check_build_dir |
| 242 | pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null |
242 | pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null |
| 243 | base_src_install |
243 | base_src_install "$@" |
| 244 | popd > /dev/null |
244 | popd > /dev/null |
| 245 | |
245 | |
| 246 | # Remove libtool files and unnecessary static libs |
246 | # Remove libtool files and unnecessary static libs |
| 247 | local args |
247 | local args |
| 248 | has static-libs ${IUSE//+} && ! use static-libs || args='none' |
248 | has static-libs ${IUSE//+} && ! use static-libs || args='none' |