diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2005-08-21 04:56:53 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2005-08-21 04:56:53 +0000 |
commit | 87274042b707068797199d6f5408aa0a31ca2971 (patch) | |
tree | 231bed2d3e0880e238f42a98070da5e52be398e6 /eclass | |
parent | Disable emacs support #99533. (diff) | |
download | gentoo-2-87274042b707068797199d6f5408aa0a31ca2971.tar.gz gentoo-2-87274042b707068797199d6f5408aa0a31ca2971.tar.bz2 gentoo-2-87274042b707068797199d6f5408aa0a31ca2971.zip |
Create x-modular_src_configure() and x-modular_src_make() so people can do actions in-between them, if necessary.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/x-modular.eclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index 50b3da24443a..9c6885d356c1 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.5 2005/08/15 00:33:31 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.6 2005/08/21 04:56:53 spyderous Exp $ # # Author: Donnie Berkholz <spyderous@gentoo.org> # @@ -102,16 +102,24 @@ x-modular_src_unpack() { x-modular_reconf_source } -x-modular_src_compile() { +x-modular_src_configure() { # If prefix isn't set here, .pc files cause problems if [ -x ./configure ]; then econf --prefix=${XDIR} \ --datadir=${XDIR}/share \ ${CONFIGURE_OPTIONS} fi +} + +x-modular_src_make() { emake || die "emake failed" } +x-modular_src_compile() { + x-modular_src_configure + x-modular_src_make +} + x-modular_src_install() { # Install everything to ${XDIR} make \ |