| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.57 2012/07/09 02:38:05 floppym Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.58 2012/09/27 16:35:41 axs 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 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 16 | |
16 | |
| 17 | inherit eutils |
17 | inherit eutils |
| 18 | |
18 | |
| 19 | BASE_EXPF="src_unpack src_compile src_install" |
19 | BASE_EXPF="src_unpack src_compile src_install" |
| 20 | case "${EAPI:-0}" in |
20 | case "${EAPI:-0}" in |
| 21 | 2|3|4) BASE_EXPF+=" src_prepare src_configure" ;; |
21 | 2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;; |
| 22 | *) ;; |
22 | *) ;; |
| 23 | esac |
23 | esac |
| 24 | |
24 | |
| 25 | EXPORT_FUNCTIONS ${BASE_EXPF} |
25 | EXPORT_FUNCTIONS ${BASE_EXPF} |
| 26 | |
26 | |