| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2011 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/base.eclass,v 1.53 2010/05/27 08:09:33 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.55 2011/12/14 23:38:09 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: base.eclass |
5 | # @ECLASS: base.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # QA Team <qa@gentoo.org> |
7 | # QA Team <qa@gentoo.org> |
| 8 | # |
8 | # @AUTHOR: |
| 9 | # Original author Dan Armak <danarmak@gentoo.org> |
9 | # Original author: Dan Armak <danarmak@gentoo.org> |
| 10 | # @BLURB: The base eclass defines some default functions and variables. |
10 | # @BLURB: The base eclass defines some default functions and variables. |
| 11 | # @DESCRIPTION: |
11 | # @DESCRIPTION: |
| 12 | # The base eclass defines some default functions and variables. Nearly |
12 | # The base eclass defines some default functions and variables. Nearly |
| 13 | # everything else inherits from here. |
13 | # everything else inherits from here. |
|
|
14 | |
|
|
15 | if [[ ${___ECLASS_ONCE_BASE} != "recur -_+^+_- spank" ]] ; then |
|
|
16 | ___ECLASS_ONCE_BASE="recur -_+^+_- spank" |
| 14 | |
17 | |
| 15 | inherit eutils |
18 | inherit eutils |
| 16 | |
19 | |
| 17 | BASE_EXPF="src_unpack src_compile src_install" |
20 | BASE_EXPF="src_unpack src_compile src_install" |
| 18 | case "${EAPI:-0}" in |
21 | case "${EAPI:-0}" in |
| … | |
… | |
| 182 | done |
185 | done |
| 183 | fi |
186 | fi |
| 184 | |
187 | |
| 185 | popd > /dev/null |
188 | popd > /dev/null |
| 186 | } |
189 | } |
|
|
190 | |
|
|
191 | fi |