summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-04 19:07:35 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-04 19:07:35 +0000
commit4177dcea4849b33347f064b8f0dc4df625350bd4 (patch)
treeda85e425fcc01e4f303a973f20c8ad5c42bd3180
parentBug #233735 - Add support for src_configure and default_* functions with (diff)
downloadportage-multirepo-4177dcea4849b33347f064b8f0dc4df625350bd4.tar.gz
portage-multirepo-4177dcea4849b33347f064b8f0dc4df625350bd4.tar.bz2
portage-multirepo-4177dcea4849b33347f064b8f0dc4df625350bd4.zip
Add some docs for EAPI 2_pre2.
svn path=/main/trunk/; revision=11328
-rw-r--r--doc/package/ebuild/eapi/2.docbook70
1 files changed, 69 insertions, 1 deletions
diff --git a/doc/package/ebuild/eapi/2.docbook b/doc/package/ebuild/eapi/2.docbook
index 2b1fa569..dc2e0dc0 100644
--- a/doc/package/ebuild/eapi/2.docbook
+++ b/doc/package/ebuild/eapi/2.docbook
@@ -1,4 +1,4 @@
-<sect1 id='package-ebuild-eapi-2'>
+<sect1 id='package-ebuild-eapi-2_pre1'>
<title>EAPI 2_pre1</title>
<sect2 id='package-ebuild-eapi-2-helpers'>
<title>Helpers</title>
@@ -97,3 +97,71 @@
</sect3>
</sect2>
</sect1>
+<sect1 id='package-ebuild-eapi-2_pre2'>
+ <title>EAPI 2_pre2</title>
+ <sect2 id='package-ebuild-eapi-2-phases'>
+ <title>Phases</title>
+ <sect3 id='package-ebuild-eapi-2-phases-src-configure'>
+ <title>New src_configure Phase Function</title>
+ <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_compile functions.
+ </para>
+ <table><title>Execution Order of Phase Functions</title>
+ <tgroup cols='1' align='left' >
+ <colspec colname='name'/>
+ <thead>
+ <row>
+ <entry>Phase Function Name</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>pkg_setup</entry>
+ </row>
+ <row>
+ <entry>src_unpack</entry>
+ </row>
+ <row>
+ <entry>src_configure</entry>
+ </row>
+ <row>
+ <entry>src_compile</entry>
+ </row>
+ <row>
+ <entry>src_test</entry>
+ </row>
+ <row>
+ <entry>src_install</entry>
+ </row>
+ <row>
+ <entry>pkg_preinst</entry>
+ </row>
+ <row>
+ <entry>pkg_postinst</entry>
+ </row>
+ <row>
+ <entry>pkg_prerm</entry>
+ </row>
+ <row>
+ <entry>pkg_postrm</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </sect3>
+ <sect3 id='package-ebuild-eapi-2-phases-default-functions'>
+ <title>Default Phase Functions</title>
+ <para>
+ Each of the default src_* phase functions is now accessible
+ via a function having a name that begins with default_ and
+ ends with the respective phase function name. For example,
+ a call to a function with the name default_src_compile is
+ equivalent to a call to the default src_compile
+ implementation.
+ </para>
+ </sect3>
+ </sect2>
+</sect1>