| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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/xfconf.eclass,v 1.4 2010/01/03 19:10:49 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.5 2010/01/22 16:33:59 ssuominen Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: xfconf.eclass |
5 | # @ECLASS: xfconf.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # XFCE maintainers <xfce@gentoo.org> |
7 | # XFCE maintainers <xfce@gentoo.org> |
| 8 | # @BLURB: Default XFCE ebuild layout |
8 | # @BLURB: Default XFCE ebuild layout |
| … | |
… | |
| 54 | unset _xfce4_intltool |
54 | unset _xfce4_intltool |
| 55 | unset _xfce4_m4 |
55 | unset _xfce4_m4 |
| 56 | |
56 | |
| 57 | XFCONF_EXPF="src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm" |
57 | XFCONF_EXPF="src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm" |
| 58 | case ${EAPI:-0} in |
58 | case ${EAPI:-0} in |
| 59 | 2) XFCONF_EXPF="${XFCONF_EXPF} src_prepare src_configure" ;; |
59 | 3|2) XFCONF_EXPF="${XFCONF_EXPF} src_prepare src_configure" ;; |
| 60 | 1|0) ;; |
60 | 1|0) ;; |
| 61 | *) die "Unknown EAPI." ;; |
61 | *) die "Unknown EAPI." ;; |
| 62 | esac |
62 | esac |
| 63 | EXPORT_FUNCTIONS ${XFCONF_EXPF} |
63 | EXPORT_FUNCTIONS ${XFCONF_EXPF} |
| 64 | |
64 | |