| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/gnome2.eclass,v 1.89 2010/12/07 06:19:54 eva Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.90 2010/12/07 06:20:40 eva Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # gnome2.eclass |
6 | # gnome2.eclass |
| 7 | # |
7 | # |
| 8 | # Exports portage base functions used by ebuilds written for packages using the |
8 | # Exports portage base functions used by ebuilds written for packages using the |
| … | |
… | |
| 16 | |
16 | |
| 17 | case "${EAPI:-0}" in |
17 | case "${EAPI:-0}" in |
| 18 | 0|1) |
18 | 0|1) |
| 19 | EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
19 | EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
| 20 | ;; |
20 | ;; |
| 21 | *) |
21 | 2|3) |
| 22 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
22 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
| 23 | ;; |
23 | ;; |
|
|
24 | *) die "EAPI=${EAPI} is not supported" ;; |
| 24 | esac |
25 | esac |
| 25 | |
26 | |
| 26 | # Extra configure opts passed to econf |
27 | # Extra configure opts passed to econf |
| 27 | G2CONF=${G2CONF:-""} |
28 | G2CONF=${G2CONF:-""} |
| 28 | |
29 | |