summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-23 02:02:06 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-23 02:02:06 +0000
commit0e7a83b0946dc21d461a7c542267e2963354341e (patch)
tree6baebda06aacf81ab8483ec2d9f98d83bade8d30 /doc
parentAdd a new is_protected command which queries whether or not CONFIG_PROTECT (diff)
downloadportage-multirepo-0e7a83b0946dc21d461a7c542267e2963354341e.tar.gz
portage-multirepo-0e7a83b0946dc21d461a7c542267e2963354341e.tar.bz2
portage-multirepo-0e7a83b0946dc21d461a7c542267e2963354341e.zip
Add a new src_prepare phase function which is called in-between src_unpack
and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
Diffstat (limited to 'doc')
-rw-r--r--doc/package/ebuild/eapi/2.docbook15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/package/ebuild/eapi/2.docbook b/doc/package/ebuild/eapi/2.docbook
index 1a4073e5..20f7434d 100644
--- a/doc/package/ebuild/eapi/2.docbook
+++ b/doc/package/ebuild/eapi/2.docbook
@@ -106,7 +106,7 @@
<para>
The configure portion of the src_compile function has been
split into a separate function which is named src_configure. The
- src_configure function is called in between the src_unpack and
+ src_configure function is called in-between the src_unpack and
src_compile functions.
</para>
<programlisting>
@@ -274,3 +274,16 @@ src_compile() {
</section>
</section>
</section>
+<section id='package-ebuild-eapi-2_pre3'>
+ <title>EAPI 2_pre3</title>
+ <section id='package-ebuild-eapi-2-phases'>
+ <title>Phases</title>
+ <section id='package-ebuild-eapi-2-phases-src-prepare'>
+ <title>New src_prepare Phase Function</title>
+ <para>
+ A new src_prepare function is called in-between the src_unpack and
+ src_configure functions, with cwd initially set to $S.
+ </para>
+ </section>
+ </section>
+</section>